linux – 如何卸载MariaDB并重新安装MySQL? MySQL安装变成了MariaDB安装

linux – 如何卸载MariaDB并重新安装MySQL? MySQL安装变成了MariaDB安装,第1张

概述我最近通过桌面升级了我的CentOS系统.错误! 我有MariaDB,phpMyAdmin之前工作得很好 – 但升级后他们停了下来. 我疯狂地用Google搜索并尝试关注有关MariaDB * MySQL重新安装的一些教程,直到我找到这个: http://centosforge.com/node/how-replace-mysql-mariadb-centos-6-including-mysql- 我最近通过桌面升级了我的CentOS系统.错误!

我有MariaDB,phpmyadmin之前工作得很好 – 但升级后他们停了下来.

我疯狂地用Google搜索并尝试关注有关MariaDB * MySQL重新安装的一些教程,直到我找到这个:

http://centosforge.com/node/how-replace-mysql-mariadb-centos-6-including-mysql-uninstall-instructions-and-yum-install

我执行此命令删除所有MysqL:

yum remove MysqL-server MysqL-libs MysqL-devel MysqL*

然后尝试重新安装MysqL:

如下所示 – 它崩溃的错误如下:

*****************************************************************[root@localhost ~]# yum install MysqL-server MysqL MysqL-devel*****************************************************************Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: centos.serverspace.co.uk * extras: centos.serverspace.co.uk * rpmforge: www.mirrorservice.org * updates: mirror.rmg.ioSetting up Install ProcessPackage MysqL-server is obsoleted by MariaDB-server,trying to install MariaDB-server-5.5.29-1.i686 insteadPackage MysqL is obsoleted by MariaDB-server,trying to install MariaDB-server-5.5.29-1.i686 insteadPackage MysqL-devel is obsoleted by MariaDB-devel,trying to install MariaDB-devel-5.5.29-1.i686 insteadResolving DependencIEs--> Running transaction check---> Package MariaDB-devel.i686 0:5.5.29-1 set to be updated--> Processing Dependency: MariaDB-common for package: MariaDB-devel---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated--> Processing Dependency: libssl.so.10 for package: MariaDB-server--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server--> Running transaction check---> Package MariaDB-common.i686 0:5.5.29-1 set to be updated--> Processing Dependency: MariaDB-compat for package: MariaDB-common---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated--> Processing Dependency: libssl.so.10 for package: MariaDB-server--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server--> Running transaction check---> Package MariaDB-compat.i686 0:5.5.29-1 set to be updated---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated--> Processing Dependency: libssl.so.10 for package: MariaDB-server--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server--> Finished Dependency ResolutionMariaDB-server-5.5.29-1.i686 from mariadb has depsolving problems  --> Missing Dependency: libcrypto.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)MariaDB-server-5.5.29-1.i686 from mariadb has depsolving problems  --> Missing Dependency: libssl.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)Error: Missing Dependency: libcrypto.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)Error: Missing Dependency: libssl.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb) You Could try using --skip-broken to work around the problem You Could try running: package-cleanup --problems                        package-cleanup --dupes                        rpm -Va --nofiles --nodigest[root@localhost ~]

如果我现在尝试安装libssl.10,我会被要求安装glibc库. 2.17和2.7.
其他讨论已经说要清除它们,因为这会爆炸我的系统.我尝试下载2.17并且它很大 – 需要花费很长时间才能解压缩.

有人可以帮我完全删除MariaDB并安装MysqL – 这样我运行时就不会出现上述错误并推送到MariaDB:

yum install MysqL-server MysqL MysqL-devel

有关如何安装MariaDB的大量材料 – 但到目前为止我没有找到明确解释如何向后退到MysqL的材料.

解决方法 您的系统上仍然有MariaDB yum存储库.只要你这样做,MariaDB将继续取代MysqL.

要解决此问题,请删除MariaDB存储库.通过在/etc/yum.repos.d目录中找到文件(可能命名为mariadb.repo)来完成此 *** 作.找到文件后,您可以将其删除,或者您可以编辑文件并将enabled = 1更改为enabled = 0.

总结

以上是内存溢出为你收集整理的linux – 如何卸载MariaDB并重新安装MySQL? MySQL安装变成了MariaDB安装全部内容,希望文章能够帮你解决linux – 如何卸载MariaDB并重新安装MySQL? MySQL安装变成了MariaDB安装所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1044313.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存