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)05/31 Report--
This article mainly shows you "MySQL5.7.18 how to change the password", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to change the password MySQL5.7.18" this article.
How to change the password in MySQL 5.7.18:
1. First shut down the MySQL server:
You can close it directly in Task Manager or you can close mysql: net stop mysql in cmd
two。 Turn on safe mode to log in without a password: jump to the installation directory in cmd: d:
Cd D:\ Mysql\ mysql-5.7.18-winx64\ bin
Then enter: mysqld-- defaults-file= "D:\ Mysql\ mysql-5.7.18-winx64\ my.ini"-- console-- skip-grant-tables (pay attention to modify the installation path yourself)
3. Open another dos window and enter mysql-uroot-p, then enter directly without entering a password.
4. Next, open the mysql database: use mysql
Then enter update mysql.user set authentication_string=password ('new password') where user='root'
Then refresh permissions: flush privileges
Then exit: quit
5. Open the MYSQL server! You can open it manually or enter net start mysql in cmd to open it.
6. Then you can log in with the new password.
The above is all the contents of the article "how to change the password in MySQL5.7.18". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.