Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem setting up MySQL DB connection in DWMX

Status
Not open for further replies.

dibbkd

IS-IT--Management
Oct 12, 2002
100
US
I am trying to setup PHP/MySQL database connection in Dreamweaver MX.

First let me say that my hand-coded PHP pages are working, so I know my DB name and password and stuff is correct.

In the MySQL connection window, I have the following:

connection name: mydatabasename
mysql server: localhost
username: myusername
password: mypassword (like i'm going to post it here )
database: mydatabasename

When I click "TEST", I get the following:

HTTP code 404, file not found:
1) there is no testing server running on the server machine.
2) the testing server specified for this site does not map to the URL. Verify that the URL prefix maps to the root of the site.


I went to the CPanel and found the _mmServerScripts folder and the MMHTTPDB.php file in that folder.

Any suggestions please!

-Thanks
 
"password: mypassword (like i'm going to post it here ) "

yeah this is funny...we were all just waiting for your password..dam* :)

I went to the CPanel and found the _mmServerScripts folder and the MMHTTPDB.php file in that folder.

this too..but I would delete them from the local folder ( and server)and re-define the the site and connections...sometimes these scripts get corrupt....also make sure with your host that the folder where the _mmSripts are located is not read-write-protected.....try using plain FTP porgramm to double_check the size/date on that file and that it was not an empty File u uploaded....open the files and compare them local vs. remote
good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top