Comments - About the MariaDB Knowledge Base
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Debian bullseye - Version OS.
My MariaDB show this error when execute the command below
"mariadb -version ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (2)"
./mysql start
● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; generated) Active: failed (Result: exit-code) since Fri 2021-10-15 13:13:38 -03; 1min 5s ago Docs: man:systemd-sysv-generator(8) Process: 2311 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max msgqueue size 819200 819200 > Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max nice priority 0 0 Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max realtime priority 0 0 Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max realtime timeout unlimited unlimited> Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Core pattern: core Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Oct 15 13:13:38 GasoSJCSVLX003 mysql[2311]: Starting MariaDB database server: mysqld . . . . . . . . > Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: mysql.service: Control process exited, code=exited, status> Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: mysql.service: Failed with result 'exit-code'. Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: Failed to start LSB: Start and stop the mysql database ser> lines 1-16/16 (END) ● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; generated) Active: failed (Result: exit-code) since Fri 2021-10-15 13:13:38 -03; 1min 5s ago Docs: man:systemd-sysv-generator(8) Process: 2311 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max msgqueue size 819200 819200 > Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max nice priority 0 0 Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max realtime priority 0 0 Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Max realtime timeout unlimited unlimited > Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Core pattern: core Oct 15 13:13:08 GasoSJCSVLX003 mysqld[2455]: Oct 15 13:13:38 GasoSJCSVLX003 mysql[2311]: Starting MariaDB database server: mysqld . . . . . . . . . . . . . .> Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: mysql.service: Control process exited, code=exited, status=1/FAILURE Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: mysql.service: Failed with result 'exit-code'. Oct 15 13:13:38 GasoSJCSVLX003 systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Help me Please