Cannot connect to mysql db with Dreamwever

I'm trying to connect to a mysql db on a linux/plesk server using Dreamweaver MX 2004 and PHP.  When I try to set up the connection, I get "HTTP Error Code 404 File Not Found."  I've tried this with different domains on the server, with different db user accounts, and also with Dreamweaver MX with same results.  I am running DW on a Windows XP box.  I've tried the process both on a godaddy server and on a rackspace server.
msibleyAsked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
Okay, you need to define a new connection in Dreamweaver. Once you do that, you should see a PHP file with the same name of the connection on the local site.  Upload the Connections directory to the server, then create a recordset to test.
0
 
Jason C. LevineNo oneCommented:
Hi msibley,

I think you answered this, but can you connect to the MySQL server at all?
0
 
msibleyAuthor Commented:
Yes, I can from the command line.  I can also run a PHP web script with a database query.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Jason C. LevineNo oneCommented:
Did you upload the Connections directory after you created the initial connection in DW?

Is there a _mmServerScripts directory present on the server?  Does it have MMHTTPDB.php and MySQL.php in it?
0
 
msibleyAuthor Commented:
Not sure what you mean by Connections directory.  There is a _mmServerScripts directory with MMHTTPDB.php and mysql.php in it.
0
 
Jason C. LevineNo oneCommented:
There should also be a Connections directory on your local computer that holds a PHP file with the name of the connection you created from DW.  That directory needs to be uploaded to the server hosting the web site in order for the connection to work.
0
 
msibleyAuthor Commented:
I see the Connections directory, but it is empty.
0
 
msibleyAuthor Commented:
OK, I finally got it working.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.