Installation problems


(Cheval) #1

Hi!

OK, I got through the PHP version problem by setting it to 5 on the hosting server, with an .htaccess file.

But now I get this error message at Stage 3 (Database setup).

Error while trying to connect to the database server:
SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (13)

Sorry if this is a dumb question, or been asked before.

Thanks


(vipsoft) #2

There are many reasons (including bugs in php) why we have a minimum PHP version requirement – bypassing this is a “no-no”.

My first guess is that your MySQL server isn’t running. My next guess would be that my.cnf or php.ini isn’t configured properly. My final guess is that your database settings are incorrect. For example, try using “127.0.0.1” or the actual IP address, instead of “localhost”.