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--
This article is about how to solve the problem that mysql can't connect to the server. 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.
The solution to mysql not connecting to the server: first open cmd; as an administrator, then go to the bin directory where mysql is installed, and execute "mysqld.exe-install"; then find MySQL; in the service and finally execute the command "mysqld-- initialize".
My error is shown in the following figure: (the server cannot be connected, and the MySQL,cmd input net start mysql is not found in the service, and the error is reported)
Solution:
Open cmd as an administrator and go to the bin directory of the mysql installation to execute mysqld.exe-install
Then we can find MySQL in the service.
If cmd reenters net start mysql and fails to start, try entering the following command:
Mysqld-- initialize / / the data directory needs to be initialized at 5.7
Succeed in the end
Thank you for reading! On how to solve the problem of mysql can not connect to the server to share here, I hope the above content can be of some help 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.