Created
January 5, 2019 04:03
-
-
Save lechidung/72cab2fa002de5f72349d45334a6480f to your computer and use it in GitHub Desktop.
Fix can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set start service | |
systemctl start mariadb.service | |
# Set enable service | |
systemctl enable mariadb.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment