1024programmer Mysql Mysql how to create password error

Mysql how to create password error

How to create a wrong password for mysql: first open the terminal, enter the code [mysql> flush privileges; refresh privileges]; then re-enter the set password.

Mysql creates a password error method:

In the settings

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

An error occurred:

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

Solution:

mysql> flush privileges; Refresh privileges

Re-enter the setting password.

More related free learning recommendations: mysql tutorial (video)

The above is the detailed content of how mysql creates password errors. For more information, please pay attention to 1024programmer. com Other related articles!

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/mysql-how-to-create-password-error/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索