mysql高手请给点建议--在线等
本人装的ubuntu,在启动mysql时error: 'Can 't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock ' (2) '
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock ' exists!
查看mysqld.sock文件不存在!
请问,我应该怎么办?
------解决方案--------------------
查看一下mysql的启动日志,在var(data)目录下,mysql启动不了,当然就不会有mysqld.sock.可能是你的配置没有弄好或者是mysql安装不成功.