首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >想要在Ubuntu20.04中安装MySQL5.7:将错误启动请求重复到快速

想要在Ubuntu20.04中安装MySQL5.7:将错误启动请求重复到快速
EN

Unix & Linux用户
提问于 2021-10-16 11:26:03
回答 1查看 480关注 0票数 1

我需要在Ubuntu20.04上安装MySQL 5.7 :我完成了这个这里。在我做apt purge mysql-client mysql-server之前,它将8.0.X版本从我的系统中删除。

但是在安装apt install mysql-community-server=5.7.35-1ubuntu18.04时,我得到了错误:

代码语言:javascript
复制
    -- 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

谢谢

EN

回答 1

Unix & Linux用户

发布于 2021-10-16 16:32:19

原因是,我在/var/lib/mysql中有旧的MYSQL (用于8.0)。在我删除它们之后,我就可以做到了。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/673469

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档