Home>Article>Operation and Maintenance> How to check whether mysql is installed in centos
How to check whether mysql is installed in centos:
1. Check whether it has been installed:
yum list installed mysql* rpm -qa | grep mysql*
2. Check whether there is an installation package:
yum list mysql*
How to install mysql in centos:
1. Install mysql client:
yum install mysql
2. Install mysql server:
yum install mysql-server yum install mysql-devel
Recommended tutorial:centos tutorial
The above is the detailed content of How to check whether mysql is installed in centos. For more information, please follow other related articles on the PHP Chinese website!