How to Fix this error .mysql socket problem

December 2, 2019 110 views
MySQL Ubuntu 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

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.


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!