我需要在Ubuntu20.04上安装MySQL 5.7 :我完成了这个这里。在我做apt purge mysql-client mysql-server之前,它将8.0.X版本从我的系统中删除。
但是在安装apt install mysql-community-server=5.7.35-1ubuntu18.04时,我得到了错误:
-- Automatic restarting of the unit mysql.service has been scheduled, as the
result for
-- the configured Restart= setting for the unit.
Okt 16 13:17:11 walter-CLS systemd[1]: Stopped MySQL Community Server.
-- Subject: A stop job for unit mysql.service has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit mysql.service has finished.
--
-- The job identifier is 12725 and the job result is done.
Okt 16 13:17:11 walter-CLS systemd[1]: mysql.service: Start request repeated too quickly.
Okt 16 13:17:11 walter-CLS 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'.
Okt 16 13:17:11 walter-CLS systemd[1]: Failed to start 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.有人知道我能做些什么来解决这个问题吗?
编辑:我在20.04 Ubuntu上使用MySQL 5.7的原因是我的旧系统是一个仿生18.04,还有Typo3 {7.6.2],它只适用于MySQL 5.7,而不是Ubuntu20.04上的MySQL 8.0.X。如果现在要在我的20.04计算机上运行MySQL 5.7,我想知道如何在我的新PC上升级我的Typo 7.6.20 MySQL-DBs,以便与适用于MySQL8.0.X的Typo3一起工作,这里列出了一个可兼容的列表:Typo3_vs_MySQL?
谢谢
发布于 2021-10-16 16:32:19
原因是,我在/var/lib/mysql中有旧的MYSQL (用于8.0)。在我删除它们之后,我就可以做到了。
https://unix.stackexchange.com/questions/673469
复制相似问题