centos7卸载mariadb 安装mysql
来源:互联网 发布:linux mount 参数 编辑:程序博客网 时间:2024/05/16 11:59
列出所有被安装的rpm package
# rpm -qa | grep mariadb
mariadb-libs-5.5.50-1.el7_2.x86_64mariadb-5.5.50-1.el7_2.x86_64mariadb-server-5.5.50-1.el7_2.x86_64
卸载
# rpm -e mariadb-libs-5.5.50-1.el7_2.x86_64
此时报错:
error: Failed dependencies: libmysqlclient.so.18()(64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64 libmysqlclient.so.18()(64bit) is needed by (installed) perl-DBD-MySQL-4.023-5.el7.x86_64 libmysqlclient.so.18()(64bit) is needed by (installed) php-mysql-5.4.16-36.3.el7_2.x86_64 libmysqlclient.so.18(libmysqlclient_18)(64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64 libmysqlclient.so.18(libmysqlclient_18)(64bit) is needed by (installed) perl-DBD-MySQL-4.023-5.el7.x86_64 libmysqlclient.so.18(libmysqlclient_18)(64bit) is needed by (installed) php-mysql-5.4.16-36.3.el7_2.x86_64 mariadb-libs(x86-64) = 1:5.5.50-1.el7_2 is needed by (installed) mariadb-1:5.5.50-1.el7_2.x86_64 mariadb-libs(x86-64) = 1:5.5.50-1.el7_2 is needed by (installed) mariadb-server-1:5.5.50-1.el7_2.x86_64
强制卸载,因为没有–nodeps
# rpm -e --nodeps mariadb-libs-5.5.50-1.el7_2.x86_64# rpm -e --nodeps mariadb-5.5.50-1.el7_2.x86_64# rpm -e --nodeps mariadb-server-5.5.50-1.el7_2.x86_64
然后可以安装mysql了。
具体查案另一篇博客:
http://blog.csdn.net/xizaihui/article/details/52962057
0 0
- centos7卸载mariadb 安装mysql
- centos7 安装mysql(mariadb)
- Centos7安装mysql(mariadb)
- centos7 安装mariadb(mysql)
- centos7安装mariadb替代mysql
- centos7安装卸载mysql
- Centos7强制卸载Mariadb
- CentOS 7卸载mariadb安装mysql
- centos7 快速安装 mariadb(mysql)
- centos7 快速安装 mariadb(mysql)
- centos7上安装mysql(mariadb)\svnadmin.
- centos7 快速安装 mariadb(mysql)
- CentOS7安装nginx+php+mysql/mariadb
- centos7下安装MYSQL(mariadb)
- Linux Centos7下如何卸载MySQL或Mariadb程序
- Centos7上卸载MariaDB数据库
- centos 卸载mysql/mariadb
- CentOS7安装mariadb
- 显示进程列表
- Get 和Post 请求原理详解
- 关于 Protocol
- 【u024】没有上司的舞会
- REST API 设计规则
- centos7卸载mariadb 安装mysql
- 存储组织
- bootstrap中的col-md-3 ...
- android沉浸式状态栏
- 欢迎使用CSDN-markdown编辑器
- [AUPE chapter 14] 高级IO
- 函数调用,题目练习
- 0-1背包问题
- Eclipse常用插件下载