Heim > Fragen und Antworten > Hauptteil
从官方渠道下载了MySQL-server-5.5.37-1.linux2.6.x86_64.rpm
通过rpm -ivh命令安装,安装在安装目录下后写命令mysql -uroot
提示 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
咋整啊
ringa_lee2017-04-17 11:33:29
问题解决.
http://stackoverflow.com/questions/21103197/cant-connect-to-local-mysql-server-through-socket-var-lib-mysql-mysql-sock
天蓬老师2017-04-17 11:33:29
ps aux | grep mysql
/var/log
下我想大半是mysql-server没启动成功