Установил mysql на CentOS.
Всё запустилось. Запустился перенесённый сайт.
Но немного поработает сайт и потом выдаёт ошибку с проблемой подключения к БД.
Статус mysql выдаёт ошибку.
Не могу понять проблему.
-- 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