MySQL DW access without using root
Hi,
I have been going through a few tutorials where Dreamweaver CS5 connects to a MySQL database. On all occassions, within Dreamweaver i can always connect to the MySQL database (from XAMPP 1.7.3) successfully with the root user but when i try to connect with any other user, it fails with the same Dreamweaver error message of:
MySQL Error#: 1044
Access denied for user 'cs5write'@'localhost' to database 'phpcs5'.
Both MySQL and Apache servers are running and i have re-typed the password (as in the book) many times. This has also happened previously with other tutorials (using the same MySQL database), where i can connect within Dreamweaver via root but by no other user. I was able to continue before using the root connection but not this time, so i am stuck!
At the moment, i am going through the new book "Adobe Dreamweaver CS5 with PHP" by David Powers. I previously started this from the Creative Edge website but now i am going through the actual book that has just been released. If it is any use to anyone, i have failed at the top of page 173, when clicking on "Test" to connect to the database. I am trying to connect with a user called "cs5write" with privileges of Select, Update, Write and Delete.
One thing i have noticed in phpMyAdmin is that when i try:
Home - Privileges, the cs5write and cs5read users are there as expected.
But when i go:
Home - phpcs5 (the database on the left) - Privileges, only cs5read is listed without cs5write. When i created the cs5write user there were no errors reported.
Any advice or suggestions very much appreciated.
Cheers,
kane77
