mariadb-server won't start

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
lksjflkjdflask
Level 1
Level 1
Posts: 7
Joined: Sun Jul 22, 2018 4:37 am

mariadb-server won't start

Post by lksjflkjdflask » Sat Dec 08, 2018 5:28 pm

Hi,

Please help me, I'm at my wits end.

I have tried completely reinstalling mariadb server, but without success.

Code: Select all

sudo service mysql start
results in:

Code: Select all

Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
Outputs of the above:

Code: Select all

 mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql; generated)
   Active: failed (Result: exit-code) since Sat 2018-12-08 23:26:13 SAST; 49s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4337 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Dec 08 23:25:43 adriaan-XPS-15-9560 systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
Dec 08 23:25:43 adriaan-XPS-15-9560 mysql[4337]:  * Starting MariaDB database server mysqld
Dec 08 23:26:13 adriaan-XPS-15-9560 mysql[4337]:    ...fail!
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: mysql.service: Control process exited, code=exited status=1
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.


journalctl -xe
Dec 08 23:25:42 adriaan-XPS-15-9560 sudo[4306]:  adriaan : TTY=pts/0 ; PWD=/home/adriaan ; USER=root ; COMMAND=/usr/sbin/service mysql start
Dec 08 23:25:42 adriaan-XPS-15-9560 sudo[4306]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 08 23:25:43 adriaan-XPS-15-9560 systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit mysql.service has begun starting up.
Dec 08 23:25:43 adriaan-XPS-15-9560 mysql[4337]:  * Starting MariaDB database server mysqld
Dec 08 23:26:13 adriaan-XPS-15-9560 /etc/init.d/mysql[4746]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Dec 08 23:26:13 adriaan-XPS-15-9560 /etc/init.d/mysql[4746]: [61B blob data]
Dec 08 23:26:13 adriaan-XPS-15-9560 mysql[4337]:    ...fail!
Dec 08 23:26:13 adriaan-XPS-15-9560 /etc/init.d/mysql[4746]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")'
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: mysql.service: Control process exited, code=exited status=1
Dec 08 23:26:13 adriaan-XPS-15-9560 /etc/init.d/mysql[4746]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 08 23:26:13 adriaan-XPS-15-9560 /etc/init.d/mysql[4746]: 
Dec 08 23:26:13 adriaan-XPS-15-9560 systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit mysql.service has failed.
-- 
-- The result is RESULT.
Dec 08 23:26:13 adriaan-XPS-15-9560 sudo[4306]: pam_unix(sudo:session): session closed for user root
Dec 08 23:26:33 adriaan-XPS-15-9560 gnome-terminal-[4289]: g_menu_insert_item: assertion 'G_IS_MENU_ITEM (item)' failed
Dec 08 23:27:19 adriaan-XPS-15-9560 gnome-terminal-[4289]: g_menu_insert_item: assertion 'G_IS_MENU_ITEM (item)' failed
Please please please help me.

Post Reply

Return to “Software & Applications”