bobpang425
Verified User
- Joined
- Dec 4, 2006
- Messages
- 8
Server : centos 4.4
Mysql : 4.1
Discuz! info: Can not connect to MySQL server
Time: 2006-12-2 6:26pm
Script: /index.php
Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
Errno.: 2002
i have tried out find the solutions but ....end until now......have the problem.
anyone can help me ?
1. change the /var/lib/mysql/ premission can' t!!!
2. ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
also can't @.@
3. cp /usr/share/mysql/my-medium.cnf /etc/my.cnf to /etc/my.cnf also can't ..
.........help please!!Thanks !!!!
Mysql : 4.1
Discuz! info: Can not connect to MySQL server
Time: 2006-12-2 6:26pm
Script: /index.php
Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
Errno.: 2002
i have tried out find the solutions but ....end until now......have the problem.
anyone can help me ?
1. change the /var/lib/mysql/ premission can' t!!!
2. ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
also can't @.@
3. cp /usr/share/mysql/my-medium.cnf /etc/my.cnf to /etc/my.cnf also can't ..
.........help please!!Thanks !!!!
Last edited: