How to Fix this error .mysql socket problem

Posted December 2, 2019 1.2k views
MySQLUbuntu 16.04

mysql.service - MySQL Community Server
Loaded: loaded (/etc/systemd/system/mysql.service; disabled; vendor preset: enabled)
Active: activating (start-post) (Result: exit-code) since Mon 2019-12-02 17:26:12 +08; 12s ago
Process: 24581 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 24571 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 24581 (code=exited, status=1/FAILURE); : 24582 (mysql-systemd-s)
Tasks: 2
Memory: 2.0M
CPU: 357ms
CGroup: /system.slice/mysql.service
├─24582 /bin/bash /usr/share/mysql/mysql-systemd-start post
└─24640 sleep 1

Dec 02 17:26:12 epbtmaster systemd[1]: Starting MySQL Community Server…
Dec 02 17:26:14 epbtmaster systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Check in the MySQL error log file for the latest entries with ‘ERROR’ inline and you should see what your call to action is. Feel free to post here for further help.