Home >Operation and Maintenance >CentOS >Does centos7 come with mysql?
centos7 does not come with mysql, and the built-in database is mariadb; when installing mysql, you need to uninstall mariadb first, because installing mysql will conflict with mariab, you can use "rpm -e --nodeps mariadb" command to uninstall mariadb.
The operating environment of this article: centos 7 system, Dell G3 computer.
centos7 does not come with mysql
Although CentOS7 does not come with mysql
, it does come with another database, mariadb , when we install mysql, there will be a conflict with mariadb. The best solution is to uninstall mariadb first, and then install mysql;
View mariadb
rpm -qa | grep -i mariadb
Uninstall mariadb
rpm -e --nodeps mariadb-libs-5.5.56-2.el7.x86_64
Check whether CentOS has installed mysql
rpm -qa | grep -i mysql
If installed, uninstall it
rpm -e --nodeps xxxx
Recommended tutorial: "centos tutorial"
The above is the detailed content of Does centos7 come with mysql?. For more information, please follow other related articles on the PHP Chinese website!