1、今天安装了一个mysql 5.7 的二进制安装方式,在连接mysql数据库的时候报了如下错误:
[root@iccsdb01 mysql]# mysql ERROR 2002 (HY000): Can't
connect to local MySQL server through socket '/tmp/mysql.
问题: mysql启动报如下错误---------ERROR 2002
(HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) 场景:
docker下创建一个mysql镜像,删除后,进行了再次的重构。