Apologies, completely forgot about this thread!
The issue was, as stated above, the comfusing naming convention used by 1&1. The client was giving me the wrong details. D’oh!
Hello,
I'm having the same issue:
Connecting to database server:
Could not connect to the database server. Check the connection properties and try again.
[2012-02-11 19:39:55] (ERROR in xPDOConnection::connect @ /Applications/MAMP/htdocs/learningMODx/modx-2.2.0-pl2/core/xpdo/xpdo.class.php : 2955) SQLSTATE[28000] [1045] Access denied for user 'learningmodx'@'localhost' (using password: YES)
[2012-02-11 19:39:55] (ERROR in xPDOConnection::connect @ /Applications/MAMP/htdocs/learningMODx/modx-2.2.0-pl2/core/xpdo/xpdo.class.php : 2955) SQLSTATE[28000] [1045] Access denied for user 'learningmodx'@'localhost' (using password: YES)
I tried the localhost;unix_socket=/tmp/mysql5.sock fix, but it didn't work for me. PLEASE HELP!
I am largely beginner, so explicit instruction would be greatly appreciated. I'm on a Mac, if that makes a difference. Thank you!!
[ed. note: carlyrene last edited this post 14 years, 7 months ago.]
thanks for this thread! helped me a lot:
@carlyrene:
Try something like this:
dbXXXXXXXXX.db.1and1.com;unix_socket=/tmp/mysql5.sock
- just change localhost with your database server.