In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
After installing mysql-5.7.19 in Windows yesterday, I want to restart the system today, so I want to shut down mysql and restart the host first.
As a result, this error was reported when it was closed in cmd.
> net start mysql
System error 5 occurred.
Access denied.
Later found that the permissions are wrong, run as an administrator in cmd, and start and shut down
This will be troublesome later because you need to remember to run as an administrator every time.
1. Win+q search to cmd right-click cmd and select "attach to [start] menu (U)"; so you find cmd on the start menu.
2. Win+q finds the directory where cmd is located, right-click to select Properties, select Shortcut, select Advanced, select run as Administrator, and then click OK!
In the future, just open the start menu and click the shortcut above to run cmd as an administrator! Type net start mysql again and you won't make a mistake!
Take a test again:
C:\ WINDOWS\ system32 > net start mysql
The MySQL service is starting.
The MySQL service has started successfully.
C:\ WINDOWS\ system32 > net stop mysql
The MySQL service is stopping.
The MySQL service stopped successfully.
OK! ~
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.