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

How to check mysql username and password

王林
王林Original
2020-09-30 13:13:5213104browse

How to check the mysql user name and password: First log in to the mysql server; then execute the [select * from mysql.user;] statement to output the user name and password.

How to check mysql username and password

Specific method:

(Recommended tutorial: mysql tutorial)

First log in to mysql, If the login is successful, the following information will be displayed

How to check mysql username and password

Then execute the sql statement

select * from mysql.user;

You can see that the password is encrypted.

How to check mysql username and password

Related recommendations: php training

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