Home  >  Article  >  Database  >  How to create wrong password in mysql

How to create wrong password in mysql

coldplay.xixi
coldplay.xixiOriginal
2020-11-13 10:31:381572browse

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');

:

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

Solution:

mysql> flush privileges; 刷新权限

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!

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