The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP and MySQL for beginners? Re: PHP and MySQL for beginners?

"MichaelR" wrote:
No, It does have PHP 5 and MySQL and PHPMyAdmin i’m asking do I have to install something like WAMP if I have an online website with these features.

Also im having trouble with the following code from w3schools


I fill in the top line with the info when I created a mysql user but then leave the rest, it says cannot create database or something, do i have to change my_db or should it work like that. I know I will change it when I add more or with other projects but it should work, right?

Thanks, Michael

No, WAMP isn’t necessary if you already have these features on an online webserver. WAMP is like a webserver, but you run it locally not on your actual website.

Are your connection details right? (remember that every webserver is localhost to itself)

If yes, maybe your PHP settings are stopping the script from creating a database (generally a lot are disabled for security reasons)