- 论坛徽章:
- 0
|
centos自带mariadb,当初记得有卸掉mariadb,mysql,不知是否命令没写完整,现在安装了mysql5.7。使用phpmyadmin才发现还有marria,但却找不到
请问如何卸载marria,谢谢
提示 您的 PHP MySQL 库版本 5.5.44-MariaDB 与您的 MySQL 服务器版本 5.7.17 不同。这可能导致无法预料的问题。
[root@mywebcn ~]# rpm -Uvh https://dev.mysql.com/get/mysql5 ... se-el7-9.noarch.rpm
Retrieving https://dev.mysql.com/get/mysql5 ... se-el7-9.noarch.rpm
Preparing... ################################# [100%]
package mysql57-community-release-el7-9.noarch is already installed
[root@mywebcn ~]# yum install mysql-community-client
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyuncs.com
* epel: mirrors.aliyuncs.com
* extras: mirrors.aliyuncs.com
* updates: mirrors.aliyuncs.com
* webtatic: us-east.repo.webtatic.com
Package mysql-community-client-5.7.17-1.el7.x86_64 already installed and latest version
Nothing to do
[root@mywebcn ~]# yum list | grep mariadb
mariadb.x86_64 1:5.5.52-1.el7 base
mariadb-bench.x86_64 1:5.5.52-1.el7 base
mariadb-devel.i686 1:5.5.52-1.el7 base
mariadb-devel.x86_64 1:5.5.52-1.el7 base
mariadb-embedded.i686 1:5.5.52-1.el7 base
mariadb-embedded.x86_64 1:5.5.52-1.el7 base
mariadb-embedded-devel.i686 1:5.5.52-1.el7 base
mariadb-embedded-devel.x86_64 1:5.5.52-1.el7 base
mariadb-libs.i686 1:5.5.52-1.el7 base
mariadb-libs.x86_64 1:5.5.52-1.el7 base
mariadb-server.x86_64 1:5.5.52-1.el7 base
mariadb-test.x86_64 1:5.5.52-1.el7 base
[root@mywebcn ~]# rpm -qa | grep mariadb
[root@mywebcn ~]# ps aux|grep mariadb
root 16674 0.0 0.0 112644 960 pts/1 S+ 23:54 0:00 grep --color=auto mariadb
[root@mywebcn ~]# ps aux|grep mysqld
mysql 16401 0.0 18.5 1120252 188388 ? Sl 22:20 0:02 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
root 16676 0.0 0.0 112644 960 pts/1 S+ 23:54 0:00 grep --color=auto mysqld
[root@mywebcn ~]# yum -y remove mariadb
Loaded plugins: fastestmirror
No Match for argument: mariadb
No Packages marked for removal
[root@mywebcn ~]# yum -y remove mariadb*
Loaded plugins: fastestmirror
No Match for argument: mariadb*
No Packages marked for removal
[root@mywebcn ~]# rpm -e mariadb*
error: package mariadb* is not installed
|
|