标签:mysql
启动mysql之后,不能进入mysql命令行: Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘:
修改/etc/my.cnf 当中 socket=/tmp/mysql.sock
重启mysql,即可
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
标签:mysql
原文地址:http://shucai.blog.51cto.com/9075040/1735774