Home > Operation and Maintenance > CentOS > How to check whether mysql is installed in centos

How to check whether mysql is installed in centos

Release: 2020-03-31 14:47:36
Original
3659 people have browsed it

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*
Copy after login

2. Check whether there is an installation package:

yum list mysql*
Copy after login

How to install mysql in centos:

1. Install mysql client:

yum install mysql
Copy after login

2. Install mysql server:

yum install mysql-server
yum install mysql-devel
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template