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

How to check whether mysql is installed successfully

青灯夜游
青灯夜游 Original
2019-06-01 11:49:15 44698browse

After installing the MySQL database, all we have to do is check whether MySQL is installed successfully. So how to check it? The following article will introduce to you how to check whether mysql is installed successfully. I hope it will be helpful to you.

How to check whether mysql is installed successfully

Steps to check whether mysql is successfully installed:

1. Press the Ctrl R key combination, Open the run interface and enter the CMD command, as shown in the figure below

How to check whether mysql is installed successfully

#2. In the open CMD command line, we enter the mysql command. Note that -u represents the logged in user. -p represents the login password, as shown in the figure below

How to check whether mysql is installed successfully

##3. Enter the correct password and enter the mysql command mode

How to check whether mysql is installed successfully

4. Enter the show databases command in the mysql command mode. If the database information as shown in the figure below is displayed, it proves that the mysql installation is successful

How to check whether mysql is installed successfully

The above is the detailed content of How to check whether mysql is installed successfully. 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