How to check if MySQL is installed on CentOS

angryTom
Release: 2020-03-31 18:06:25
Original
7421 people have browsed it

How to check if MySQL is installed on CentOS

How to check whether MySQL is installed on CentOS

centos7 comes with mariadb, a variant of mysql.

Method 1:

Check whether MySQL is installed:

(Free learning video tutorial recommendation: mysql video tutorial)

yum list installed mysql*
Copy after login

Method 2:

rpm -qa | grep mysql*
Copy after login

Method 3:

Enter in the terminal:

whereis mysql
Copy after login

Press Enter, if you have installed mysql, the file installation address will be displayed

This article comes from the PHP Chinese website, CentOS usage tutorial column, more related Please pay attention to this column for tutorials!

The above is the detailed content of How to check if MySQL is installed on 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