技术交流QQ群【JAVA,C++,Python,.NET,BigData,AI】:170933152
卸载
移除mariadb程序文件
yum remove -y mariadb*
查询mysql相关文件并删除
find / -name "mysql*" |xargs rm -rf
find / -name "mariadb*" |xargs rm -rf
执行上面等以后,再执行下面,保证彻底卸载
#################CentOS7下MySQL的卸载####################
1:查看MySQL是否安装:
方式1:
[root@localhost usr]# yum list installed mysql*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirror.neu.edu.cn
* updates: mirrors.yun-idc.com
Installed Packages
MySQL-client.x86_64 5.6.27-1.el6 installed
MySQL-devel.x86_64 5.6.27-1.el6 installed
MySQL-server.x86_6