Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fix can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) on CentOS 7
# 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
You can’t perform that action at this time.