Page 1 of 1

Can't connect to local MySQL server through socket '/var/run

Posted: Mon Sep 13, 2010 10:27 pm
by coolumanga
i got this

mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


how do i overcome this problem

Re: Can't connect to local MySQL server through socket '/var

Posted: Mon Sep 13, 2010 10:38 pm
by Jonah Bron
Can you post your code? You might try googling the problem (like "mysql cannot connect socket").