View Full Version : How to access the MySQL database through Dreamweaver

04-02-2009, 12:21 PM
Hello everyone.

I have recently started to learn some more advanced site design stuff, namely PHP and MySQL.

The problem is, I cannot connect to the MySQL database.
When I connect mySQL database I get following error

HTTP Error Code 404 File not Found. Here are some possible reasons for the problem.
1) There is no testing server running on the server machine.
2) The testing server specified for this site dose not map to the
http://localhost/-mmScriptServer/MMHTTPDB.php URL. Verify
that the URL Prefix maps to the root of the site.

Server is working but only get error in mySQL connecting thought DW.

Any help would be greatly appreciated. I searched the forums and only found one topic like this, and it didnt have the answer and seems to be a dead topic.

04-02-2009, 03:44 PM
i would advise you learn to hand code PHP

04-02-2009, 05:42 PM
When you set the connection Did you:

Connection Name: connMydb
MySQL Server: localhost
User name: YourName
Password: Your Password
Database: databasename

did you test it?

Did you upload the connection file to the server?

Check that you have setup your site properly in DW.

Perhaps the error is there.