After I reboot my server, I can no longer start mysql.
I have followed several solutions posted here:
I run the following commands to start the service:
mysql >> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
sudo service mysql start >> Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
systemctl status mysql.service >> mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2022-01-26 15:18:33 UTC; 47s ago Process: 2612 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)
journalctl -xe >> Startup of the manager took 379405 microseconds. Jan 26 14:33:24 sumentserver polkit-agent-helper-1: pam_unix(polkit-1:auth): authentication failure; logname= uid=1001 euid=0 tty= > -- Reboot -- Jan 26 14:44:33 sumentserver systemd: Reached target Paths. -- Subject: A start job for unit UNIT has finished successfully -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- A start job for unit UNIT has finished successfully.
The server has Ubuntu 20.4
Any tip about what can I do?