Can't connect to local MySQL server through socket


Can’t connect to local MySQL server through socket

  • 因为mysql服务没有启动
1
2
3
systemctl start mariadb.service

systemctl enable mariadb.service