Centos 7 安装mysql后出现 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
切换成root,
systemctl start mariadb.service systemctl enable mariadb.service
2021-11-25 02:09:29
Centos 7 安装mysql后出现 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
切换成root,
systemctl start mariadb.service systemctl enable mariadb.service