参照
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
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
博主参照相关链接在Ubuntu 12.04 LTS上安装MySQL 5.6,安装过程顺利,但运行mysql命令时出现无法通过socket连接本地MySQL服务器的错误,提示Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2),解决办法是修改/etc/my.cnf,还给出了更详细安装的链接。
376

被折叠的 条评论
为什么被折叠?



