ZenphotoCMS Forum
MySQL Error: Could not connect to the database server. - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: MySQL Error: Could not connect to the database server. (/thread-368.html)



MySQL Error: Could not connect to the database server. - gottino - 2006-03-14

For testing purpose I'm trying to install it on my local machine. I installed mysql on my Mac and am able to log into the database through the terminal application, i.e. directly on the database, without using zenphoto.

However if I put exactly the same login credentials into config.php, Zenphoto answers with "MySQL Error: Could not connect to the database server." Mysql-deamon is running and all, I tried to switch off my Mac's firewall. Same problem. Can anybody help me?




MySQL Error: Could not connect to the database server. - hoover99 - 2006-03-15

i got the same error at one point, make sure the username + password match up - otherwise you will get this error.




MySQL Error: Could not connect to the database server. - gottino - 2006-03-15

Thanx for your reply. I tried with the same username and password once for directly connecting to the mysql-console - it works. The same username & password on zenphoto-config.php - it doesn´t... Any idea to what might be the problem is appreciated.