Help with MySQL please.
#1

Код:
[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?
Reply
#2

Cant really find the problem with them lines, Give us more detail and code.
Reply
#3

Did you : apt-get install mysql mysql-client mysql-server ?
Reply
#4

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.
Reply
#5

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
If this problem persists, try reinstalling the mysql-server package.
Not everyone uses Debian.
I did not assume he did either, rather pointing out the needed packages.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)