Linux登录MySQL时出现 Can't connect to local MySQL server through socket '/tmp/mysql.sock'解决方法
参考文章:
(1)Linux登录MySQL时出现 Can't connect to local MySQL server through socket '/tmp/mysql.sock'解决方法
(2)https://www.cnblogs.com/phperlinxinlan/p/9288215.html
备忘一下。