A
A
Alexander Vinogradov2018-02-27 12:12:31
MySQL
Alexander Vinogradov, 2018-02-27 12:12:31

Why did mysql stop working?

Installed mysql on CentOS.
Everything started. The migrated site is up and running.
But the site will work a little and then it gives an error with a problem connecting to the database.
mysql status throws an error.
I can't understand the problem.

-- The result is failed.
Feb 27 12:08:37 k-mebel systemd[1]: Unit mysqld.service entered failed state.
Feb 27 12:08:37 k-mebel systemd[1]: mysqld.service failed.
Feb 27 12:08:37 k-mebel systemd[1]: mysqld.service holdoff time over, scheduling restart.
Feb 27 12:08:37 k-mebel systemd[1]: Starting MySQL Server...
-- Subject: Unit mysqld.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun starting up.
Feb 27 12:08:38 k-mebel mysqld[12492]: Initialization of mysqld failed: 0
Feb 27 12:08:38 k-mebel systemd[1]: mysqld.service: control process exited, code=exited status=1
Feb 27 12:08:40 k-mebel systemd[1]: Failed to start MySQL Server.
-- Subject: Unit mysqld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has failed.
--
-- The result is failed.
Feb 27 12:08:40 k-mebel systemd[1]: Unit mysqld.service entered failed state.
Feb 27 12:08:40 k-mebel systemd[1]: mysqld.service failed.
Feb 27 12:08:40 k-mebel systemd[1]: mysqld.service holdoff time over, scheduling restart.
Feb 27 12:08:40 k-mebel systemd[1]: Starting MySQL Server...
-- Subject: Unit mysqld.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun starting up.
Feb 27 12:08:41 k-mebel mysqld[12544]: Initialization of mysqld failed: 0
Feb 27 12:08:41 k-mebel systemd[1]: mysqld.service: control process exited, code=exited status=1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivankomolin, 2018-02-27
@ivankomolin

Check mysql log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question