We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7653
    • 11 Posts
    Hi,

    Hoping someone can help us here. Trying to do an install of Revolution and we’ve already successfully installed it on several machines.

    However, one machine errors on the database creation with these error messages :

    Connecting to mysql server:  
    Could not connect to the database server. Check the connection properties and try again.
    
    [2010-11-23 12:54:29] (ERROR in xPDO::connect @ /Users/webdev/Sites/kassaba/core/xpdo/xpdo.class.php : 318) SQLSTATE[HY000] [2002] No such file or directory
    
    [2010-11-23 12:54:29] (ERROR in xPDO::connect @ /Users/webdev/Sites/kassaba/core/xpdo/xpdo.class.php : 318) SQLSTATE[HY000] [2002] No such file or directory 


    Mac OSX 10.6.5
    Apache 2.2.15
    MySQL 5.0.7
    PHP 5.3.3

    All server requirements are met. MySql login details are correct and verified by command line login. That files is currently set to 777 so shouldnt be any problems with permissions.

    Trying to install modX 2.0.4-pl2

    I’ve run out of ideas on this one so any pointers appreciated.
      • 7653
      • 11 Posts
      Ok, after all that I just tried connecting to 127.0.0.1 rather than localhost and it worked fine...