-1

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.

1
  • I'm sorry to say that this question has nothing to do with programming or sw development. This is about a database admin task of restoring a database. The dedicated dba.stackexchange.com sister-site of SO deals with such questions. Unfortunately, one the close voters did not choose to migrate your question over there, so it is going to be closed here and you need to re-ask it over there. Commented Jan 27 at 19:00

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.