1024programmer Mysql What should I do if mysql error occurs when the computer is turned on?

What should I do if mysql error occurs when the computer is turned on?

The solution to the mysql error when the computer is turned on: first open “My Computer->Properties->Advanced->Environment Variables” in sequence; then add the variable value of Path to “%SystemRoot%\system32”; Finally, restart the mysql service.

Recommendation: “Mysql Video Tutorial”

Windows started MySQL error

C:\Program Files\mysql-5.7.10-winx64\bin>
 # Start the mysql service
 net start mysql
 # Stop the mysql service
 net stop mysql

Prompt message: ‘net’ is not an internal or external command, nor is it an operable program or batch file

Solution:

My Computer–>Properties–>Advanced–>Add the variable value of the environment variable Path: %SystemRoot%\system32 (separated by “;”)

Note:

(1) It is best to open the CMD command line as an administrator.

(2) After the modification is completed, you need to reopen the cmd command line, otherwise it will not take effect.

(3) It is easy to use in “%SystemRoot%\system32”

C:\Users\Administrator>net start mysql

MySQL service is starting.

MySQL service has been started successfully.

The above is the detailed content of what to do if the mysql error occurs when the computer starts up. For more information, please pay attention to other related articles on 1024programmer.com!

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/what-should-i-do-if-mysql-error-occurs-when-the-computer-is-turned-on/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索