我们专注攀枝花网站设计 攀枝花网站制作 攀枝花网站建设
成都网站建设公司服务热线:400-028-6601

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

Linux下mysql安装出错的原因-创新互联

本篇内容介绍了“Linux下mysql安装出错的原因”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

成都创新互联公司网站建设公司一直秉承“诚信做人,踏实做事”的原则,不欺瞒客户,是我们最起码的底线! 以服务为基础,以质量求生存,以技术求发展,成交一个客户多一个朋友!专注中小微企业官网定制,成都网站制作、网站建设,塑造企业网络形象打造互联网企业效应。

1.down 错版本MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm,安装报错

2.安装新down下的版本

rpm -Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

错误如下:

error: Failed dependencies:

MySQL conflicts with mysql-5.0.22-2.1.0.1.x86_64

MySQL conflicts with mysql-5.0.22-2.1.0.1.i386

MySQL-server conflicts with mysql-server-5.0.22-2.1.0.1.x86_64

与先前安装的版本冲突

3.查看先前安装的mysql

rpm -q mysql

mysql-5.0.22-2.1.0.1

mysql-5.0.22-2.1.0.1

4.删除

rpm -e --nodeps mysql-5.0.22-2.1.0.1

错误如下:error: "mysql-5.0.22-2.1.0.1" specifies multiple packages

有多个重名的包

5.全部删除

rpm -e --allmatches mysql-5.0.22-2.1.0.1

错误如下:

error: Failed dependencies:

libmysqlclient.so.15()(64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

mysql = 5.0.22-2.1.0.1 is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

mysql is needed by (installed) MySQL-python-1.2.1-1.x86_64

mysql is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

6.解决

rpm -e perl-DBD-MySQL-3.0007-1.fc6.x86_64

……

相关文件逐个删除,之后运行rpm -e --allmatches mysql-5.0.22-2.1.0.1

成功

7.安装新down下的版本

rpm -Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

成功

“Linux下mysql安装出错的原因”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注创新互联网站,小编将为大家输出更多高质量的实用文章!


网页名称:Linux下mysql安装出错的原因-创新互联
当前网址:http://mswzjz.cn/article/djeihd.html

其他资讯