Rozwaldeo
asked on
Dreamweaver MySQL Connection HTTP 403 Error Code Forbidden
I am trying to connect to a MySQL database in Dreamweaver MX2004. I have the 'Applications' window open and have php installed on a local apache server (http://localhost) and the database exists because I can see it in MySQL Administrator. So I have typed in all the correct details in the MySQL connection box etc. But as soon as a click 'test' or 'ok' an error message pops up saying "HTTP Error Code 403 Forbidden" I've learnt everything else from scratch over the last few days, and now I'm stuck in my tracks. It's driving me insane. Your help would be much appreciated.
Many thanks in advance,
Rozwaldeo.
Many thanks in advance,
Rozwaldeo.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm using windows xp home, and it's localhost. everything is installed correctly. I have successfully done everything else before on another computer, but on this computer I keep getting that error. Do you think I should reinstall my server?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The first comment by Matt tells the real solution. Additional info
If running ubuntu linux with PHP, apache2 and mysql, Dreamweaver will create a directory _mmServerScripts in the root of the web server "/var/www" this file and its directory must have the permissions set to 755 i.e.
chmod 755 _mmServerScripts
Real problem is telling dreamweaver to create files with the correct permission to being with.
If running ubuntu linux with PHP, apache2 and mysql, Dreamweaver will create a directory _mmServerScripts in the root of the web server "/var/www" this file and its directory must have the permissions set to 755 i.e.
chmod 755 _mmServerScripts
Real problem is telling dreamweaver to create files with the correct permission to being with.
Is the server a linux box, windows?
B/c vsftpd can also cause this problem.
So make sure you have appropriate permissions for the directory the dbconnection file is in, 755 for linux.