I've the same problem!
I've changed localhost to my hostname and it works!
but I'd rather use localhost,
plz write me the solution.
Blob wrote:
Noticed an interesting thing about the output of phpinfo(); It contains two parameters for the MySQL socket.
MYSQL_SOCKET: /var/lib/mysql/mysql.sock
mysql.default_socket: /tmp/mysql.sock
I forced the seconectparameter in php.ini but what is that first parameter that points to a non-existent sock file, which may cause this problem?