当前位置: 技术问答>linux和unix
'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
来源: 互联网 发布时间:2017-04-26
本文导语: [root@208 mysql]# bin/mysqladmin version bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! ...
[root@208 mysql]# bin/mysqladmin version
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
不知道如何解决,前面的make make install都没啥问题
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
不知道如何解决,前面的make make install都没啥问题
|
mysql进程运行了吗?
ps看下
ps看下