Answered
MySQL Connection to live db
Hi all,
Some of you may be familiar with David Power's DW and PHP themed books. I have been following his excellent Essential Guide to Dreamweaver CS3 with CSS, AJAX and PHP. I am interested in PHP and how Dreamweaver interacts with databases.
I created a simple db and single table in MySQL on my local machine running apache and using php. The Dreamweaver MySQL connection (accessed through the Applications > Databases panel) worked fine when I set-up a localhost connection and I was able to write records to my db and retrieve/display them through dreamweaver built php pages.
However, when I tried to access the same db (built on my hosting (dreamhost) company's db server) I cannot establish a connection. I get an 1045 access for user@.......com denied (using Password: Yes) error. All I did was change the MySQL server address in the MySQL connections dialog to reflect my hosts db address but this is not being recognised by Dreamweaver. I deleted the _mmServerScripts folder and contents and rebuilt the folder from scratch and uploaded it to my remote server root but that had no effect.
Disappointingly, I have had no response to this question, which I posed on the Friends of Ed Forum (the publisher of the book that I am following) and I wondered if you guys had any idea of what I am doing wrong, or what strange behavior Dreamweaver is exhibiting here?
Thanks in advance for any ideas or hopefully solutions!
Some of you may be familiar with David Power's DW and PHP themed books. I have been following his excellent Essential Guide to Dreamweaver CS3 with CSS, AJAX and PHP. I am interested in PHP and how Dreamweaver interacts with databases.
I created a simple db and single table in MySQL on my local machine running apache and using php. The Dreamweaver MySQL connection (accessed through the Applications > Databases panel) worked fine when I set-up a localhost connection and I was able to write records to my db and retrieve/display them through dreamweaver built php pages.
However, when I tried to access the same db (built on my hosting (dreamhost) company's db server) I cannot establish a connection. I get an 1045 access for user@.......com denied (using Password: Yes) error. All I did was change the MySQL server address in the MySQL connections dialog to reflect my hosts db address but this is not being recognised by Dreamweaver. I deleted the _mmServerScripts folder and contents and rebuilt the folder from scratch and uploaded it to my remote server root but that had no effect.
Disappointingly, I have had no response to this question, which I posed on the Friends of Ed Forum (the publisher of the book that I am following) and I wondered if you guys had any idea of what I am doing wrong, or what strange behavior Dreamweaver is exhibiting here?
Thanks in advance for any ideas or hopefully solutions!