Home > Database > Mysql Tutorial > How to check mysql username and password

How to check mysql username and password

王林
Release: 2020-09-30 13:13:52
Original
13143 people have browsed it

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;
Copy after login

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!

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