In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you the content of the case of mysql 5.7.20 changing passwords. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Mysql 5.7.20 how to change your password: first log in to the system as a system administrator, then open cmd; and finally pass "update user set authentication_string=password ('123456')." Command to change the password.
Mysql 5.7.20 modify the root password.
1. Log in to the system as a system administrator.
two。 Open cmd
Check to see if mysql is started. Net start mysql
Stop net stop mysql if you start it.
3. Skip permission check to start mysql. Click the bin directory in mysql, then right-click shift, and select to open the command window
Paste in mysqld-nt-- skip-grant-tables
4. User logs in to mysql-uroot-p
Select database use mysql
5. The password field in the mysql5.7 version is not password, so we enter the following sentence to reset the password.
Update user set authentication_string=password ('123456') where user='root'
6. Refresh flush privileges
7. Exit quit; and restart the service.
Thank you for reading! This is the case of changing the password of mysql 5.7.20. I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.