ERROR 2002 (HY000): Can't connect to local MySQL server

May 6, 2015 2k views
MariaDB Linux Basics CentOS

I can not login to MariaDB with blank password. It's show Enter current password for root (enter for none): ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Please help. (Server just installed mariadb-server and httpd).

1 Answer

Is it running?

Have another answer? Share your knowledge.