Home > Database > Mysql Tutorial > body text

How to create wrong password in mysql

coldplay.xixi
Release: 2020-11-13 10:31:38
Original
1626 people have browsed it

Mysql method to create a wrong password: First open the terminal and enter the code [mysql> flush privileges; refresh privileges]; then re-enter the set password.

How to create wrong password in mysql

Mysql method to create wrong password:

An error occurred when setting

mysql> set password for root@localhost = password('admin');
Copy after login

:

The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
Copy after login

Solution:

mysql> flush privileges; 刷新权限
Copy after login

Re-enter the setting password.

More related free learning recommendations: mysql tutorial(video)

The above is the detailed content of How to create wrong password in mysql. 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