Dreamweaver 8 / MySQL PHP connection

software development

#1

I’m trying to use Dreamweaver 8 to connect to a MySQL database, but an getting the following error when I try to setup the connection (specifically when selecting the database):

"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 does not map to the http://www.womensfilmnet.com/_mmServerScripts/MMHTTPDB.php URL. Verify the URL Prefix maps to the root of the site."

Connection Name: connNAME
MySQL server: mysql.womensfilmnet.com
User name: dbusername,
Password: dbpassword
Database: dbname

I’m pretty sure I have everyting set up correctly in the FTP settings in Dreamweaver …

Under the Local Info tab I have the http address as: http://www.womensfilmnet.com/

For remote info, I have:
FTP Host:
Host Directory:
Login: mylogin
Password: mypassword
Passive FTP checked

For testing server panel:
Server model: PHP MySQL
Access: FTP
FTP Host: womensfilmnet.com
Login: mylogin
Password: mypassword
Passive FTP checked
Host Directory: (blank)
URL Prefix: http://www.womensfilmnet.com/

Any ideas on what I’m doing wrong??

Thanks …


#2

Not Found

The requested URL /_mmServerScripts/MMHTTPDB.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Simple. DW8 is trying to locate that file on your server and it doesnt exist. Maybe its part of a script you have running elsewhere or you forgot that one file, but it needs to exist from the looks of it.


#3

I think you’ve uploaded the files to wrong directory.

You should upload files to /home/username/domain.com

For your case, try to change your host directory setting like

Host Directory: womensfilmnet.com

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here


#4

patricktan …

Thanks … that was it. Works perfectly now!

  • jr

#5

You are welcome. I’m glad your site is working now.

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here