Posts: 2
Threads: 2
Joined: Aug 2011
Код:
[Wed Aug 3 00:09:15 2011] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
[Wed Aug 3 00:09:15 2011] Error (0): Function: mysql_ping called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
and every next line for the mysql log is similar.
What should I do?
Posts: 48
Threads: 3
Joined: Jul 2011
Reputation:
0
Cant really find the problem with them lines, Give us more detail and code.
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
Did you : apt-get install mysql mysql-client mysql-server ?
Posts: 6,129
Threads: 36
Joined: Jan 2009
If this problem persists, try reinstalling the mysql-server package.
Quote:
Originally Posted by Cameltoe
Did you : apt-get install mysql mysql-client mysql-server ?
|
Not everyone uses Debian.