i have a problem with mysql

Status
Not open for further replies.

adamp

Verified User
Joined
Jan 11, 2007
Messages
141
all site that use data base in my server
write me this
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
before the mysql write that have to many connections

what i need to do
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,331
Location
LT, EU
Code:
service mysqld restart
If it doesn't help:
Code:
ln -sf /var/lib/mysql/mysql.sock /tmp/mysql.sock
 
Status
Not open for further replies.
Top