In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to solve the problem of connecting to mysql 1045 error, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
The solution to the 1045 error reported by connecting mysql: 1, open the my.ini configuration file; 2, add [skip-grant-tables] to save the file; 3, restart the mysql service; 4, log in to mysql and change the password; 5, log out and reconnect.
Solution:
First open the my.ini configuration file.
Then add skip-grant-tables under the mysqld field and save the exit.
If the save fails, stop the mysql service before saving.
Finally, restart the mysql service.
Now we can log in to the mysql database.
Change the password again after logging in to the database.
Update user set password=password ("root22") where user= "root"
If the error "ERROR 1054 (42S22): Unknown column 'password' in' field list'" is reported, then execute this command.
Update user set authentication_string=password ('root22') where user='root'
When you are done, exit and reconnect.
The above is all the contents of how to solve the problem of connecting mysql to report 1045 error, 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.