- 论坛徽章:
- 0
|
求助!我的问题?
我的问题:我的mysql也出现这个错误:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webdocs/www/public/pubfunc.inc.php on line 70
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webdocs/www/public/pubfunc.inc.php on line 70
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webdocs/www/public/pubfunc.inc.php on line 72
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webdocs/www/public/pubfunc.inc.php on line 72
Warning: MySQL: A link to the server could not be established in /home/webdocs/www/public/pubfunc.inc.php on line 72
照着斑竹说的进行权限修改,可是执行到
chown -R root /var/lib/mysql/mysql时候,
出现chown: 无法取得 ‘/var/lib/mysql/mysql’ 的属性: 没有那个文件或目录.为什么,能帮忙看看吗? |
|