cancel
Showing results for 
Search instead for 
Did you mean: 

Dreamweaver Connection to database?

adagio
Grafter
Posts: 196
Registered: ‎03-04-2008

Dreamweaver Connection to database?

Has anyone successfully set up a Connection to their MySQL database in Dreamweaver. If so would they be kind enough to share the secret please?
Using the parameters:-
rumpus.plus.net
myusername
mysqlpassword
I get a message box "!An unidentified error occurred." - most helpful  Cry
I have successfully set up an ODBC connection and used MySQL Administrator using the same credentials.
3 REPLIES 3
Peter_Vaughan
Grafter
Posts: 14,469
Registered: ‎30-07-2007

Re: Dreamweaver Connection to database?

I think its the following issue:
Use ftp to go your root folder. In there you will find a folder called _mmServerScripts. Set the permissions on this folder to 777 or 770 and you should be able to connect.
This is a folder that dreamweaver creates when setting up the MySQL connection but it is initially created with the wrong access permissions which then stops it writing it's config file into it.
[corrected after checking my dreamweaver connection]
adagio
Grafter
Posts: 196
Registered: ‎03-04-2008

Re: Dreamweaver Connection to database?

Peter
Many thanks for taking the trouble to reply. Dreamweaver had in fact written the 2 scripts into_mmServerScripts. However, they did not have executable permissions! chmod to 755 did the trick. I have used MySQL successfully with a couple of Delphi apps but as you see I am very new to this php business.
Peter_Vaughan
Grafter
Posts: 14,469
Registered: ‎30-07-2007

Re: Dreamweaver Connection to database?

Ah, yes, I remember now it was the file permissions that were wrong not the folder.