We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21122
    • 153 Posts
    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!
      • 38047
      • 32 Posts
      Thanks for this lutenegger, works a treat smiley
        • 38661
        • 1 Posts
        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.]
          • 36446
          • 184 Posts
          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.



            https://www.beautyislife-shop.de - premium make-up!
            https://www.topsterne.de - sell it here!
            ---------------------------------------------------------