Home  >  Article  >  Database  >  How to check whether mysql is installed

How to check whether mysql is installed

青灯夜游
青灯夜游Original
2022-06-16 16:02:0145777browse

Two checking methods: 1. In the cmd command window, execute the "mysql -V" or "mysql --version" command. If the version information is displayed, it means that mysql is installed successfully. 2. In the cmd command window, execute the "services.msc" command to bring up the "Services" window. In the pop-up window, search for the MySQL service. If it exists, mysql is installed successfully. If not, it is not installed.

How to check whether mysql is installed

The operating environment of this tutorial: windows7 system, mysql5.6.17 version, Dell G3 computer.

Method 1:

In the cmd command window, execute the mysql -V or mysql --version command, If the version information is displayed, it means that the mysql installation is successful

How to check whether mysql is installed

Method 2:

In the cmd command window, execute the services.msc command Bring up the "Service" window

How to check whether mysql is installed

How to check whether mysql is installed

In the pop-up window, look for the MySQL service. If it exists, it is installed. If not, it is not installed.

How to check whether mysql is installed

Prove that MySQL has been installed on my computer.

[Related recommendations: mysql video tutorial]

The above is the detailed content of How to check whether mysql is installed. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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