SYSTEM INFORMATION | |
---|---|
OS type and version | CentOS Linux release 7.9.2009 (Core) |
Webmin version | 2.013 |
I installed Webmin and it can’t recognize that my MariaDB is running.
It shows error:
The full MariaDB error message was : connect to server at ‘localhost’ failed error: ‘Can’t connect to local server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ Check that mariadbd is running and that the socket: ‘/var/lib/mysql/mysql.sock’ exists!
However my socket path is different in /etc/my.cnf.d/server.cnf:
socket = /var/run/mysqld/mysqld.sock
How I can make Webmin use actual sock file, or it’s supposed to find it itself?