日期:2014-05-16  浏览次数:20776 次

ubuntu 12.04安装mysql5.6

参照

http://www.4tm.biz/blog/2013/mysql-5-6-on-ubuntu-12-04-lts.html

安装一路ok,最后运行myql 命令的时候却出现:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)错误
需要修改/etc/my.cnf即可

socket = /var/run/mysqld/mysqld.sock

更详细到一个安装:
http://my.oschina.net/winHerson/blog/112309