Fix can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) on CentOS 7

MariaDB is a drop-in replacement for mysql. On the new system, mysql is the MariaDB client (although I’m not clear on what that means)

Sliding Sidebar

About Me

About Me

Hello, my name is Dũng (Johnny). Welcome to my blog.

As I’m a developer, I write about topics related to the field of programming, mainly from a technical point of view. On this blog you’ll find posts which encourage discussion, information about development trends, case studies, reviews, tutorials, tips on how to improve your effectiveness, and anything else that might be fascinating to people from the IT industry.
I love PHP, NodeJS, Java,... and Fullstack.