Home  >  Article  >  Database  >  How to check the username and password of mysql

How to check the username and password of mysql

青灯夜游
青灯夜游Original
2022-01-05 11:23:48109670browse

How to check the mysql username and password: 1. Open the "Start" menu, find and open the MySql command window; 2. Enter the password and log in to the mysql server; 3. Execute the "select * from mysql.user" command You can view the username and password in the output results.

How to check the username and password of mysql

The operating environment of this tutorial: windows10 system, mysql8 version, Dell G3 computer.

View the local mysql username and password

1. Click the Windows key and find the MySql as shown below, Click.

#2. After clicking, the following picture will appear. Enter the password.

#3. After entering the password, the following picture will appear.

4. Enter: select * from mysql.user; to find the username and password. The username and password shown below appear

The username is: root

The password is: MD5 encrypted dynamic code, which cannot be cracked.

[Related recommendations: mysql video tutorial]

The above is the detailed content of How to check the username and password of mysql. 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