I had to restore the MySQL files on Ubuntu from a system backup. Unfortunately mysqld will not start. I chowned the directory to mysql:mysql but I still get this error:
`Defined-By: systemd
Support: http://www.ubuntu.com/support
The unit mysql.service has entered the 'failed' state with result 'exit-code'.
Jan 27 13:05:22 dap002 systemd[1]: Failed to start mysql.service - MySQL Community Server.
Subject: A start job for unit mysql.service has failed
Defined-By: systemd
Support: http://www.ubuntu.com/support
A start job for unit mysql.service has finished with a failure.
The job identifier is 203381 and the job result is failed.
Jan 27 13:05:23 dap002 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Subject: Automatic restarting of a unit has been scheduled
Defined-By: systemd
Support: http://www.ubuntu.com/support
Automatic restarting of the unit mysql.service has been scheduled, as the result for the configured Restart= setting for the unit.
Jan 27 13:05:23 dap002 systemd[1]: mysql.service: Start request repeated too quickly.
Jan 27 13:05:23 dap002 systemd[1]: mysql.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: http://www.ubuntu.com/support
The unit mysql.service has entered the 'failed' state with result 'exit-code'.
Jan 27 13:05:23 dap002 systemd[1]: Failed to start mysql.service - MySQL Community Server.
Subject: A start job for unit mysql.service has failed
Defined-By: systemd
Support: http://www.ubuntu.com/support
A start job for unit mysql.service has finished with a failure.
The job identifier is 203578 and the job result is failed.`
Can someone help figure out what is wrong? TIA.