In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces cmd input "net start mysql" prompt error solution, the text is very detailed, has a certain reference value, interested friends must read!
On DOS windows, gitbush, and some available command-line tools, typing: net stop mysql, net start mysql always prompts: invalid service name.
The prompt appears as follows:
The reason is: because net start + service name, start is the service registered under win. At this point, mysql is not registered in the service. There is no mysql service under the current path.
How to register MySQL in Win Service?!!! (Steps are as follows)
1. Go to the MySQL installation path bin
2. On the command line, type mysqld --install
Success: Service successfully installed means you have successfully installed
Unsuccessful:
If the above text appears, you need to run DOS window as administrator, so that you can succeed.
3. Execute net start mysql to appear:
Delete the data file under mysql, re-execute mysqld --initialize to generate the data folder under the current path, and then execute net start mysql to start mysql.
Quickly open DOS as administrator:
Open DOS command window as administrator: under bin in current folder, hold Shift+ right mouse click to run DOS window as administrator.
The above is "cmd input"net start mysql"prompt error solution" all the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to 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.