Properties->Advanced->Environment Variables"; then add the variable value of Path as "%SystemRoot%\system32"; finally restart the mysql service. Can."/> Properties->Advanced->Environment Variables"; then add the variable value of Path as "%SystemRoot%\system32"; finally restart the mysql service. Can.">

Home  >  Article  >  Database  >  What should I do if a mysql error occurs when the computer is turned on?

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

藏色散人
藏色散人Original
2020-11-13 09:20:533162browse

Solution to the MySQL error that occurs when the computer is turned on: First, open "My Computer->Properties->Advanced->Environment Variables"; then add the variable value of Path to "%SystemRoot%\ system32"; finally restart the mysql service.

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

Recommendation: "mysql video tutorial"

Windows started MySQL error

C:\Program Files\mysql-5.7.10-winx64\bin>
# 启动mysql服务
net start mysql
# 停止mysql服务
net stop mysql

Prompt message : 'net' is not recognized as an internal or external command, operable program or batch file

Solution:

My Computer-->Properties-->Advanced- ->The variable value of the environment variable Path is newly added: %SystemRoot%\system32 (separated by ";")

Note:

(1) It is best to be an administrator Open the CMD command line.

(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

The MySQL service is starting.

The MySQL service has been started successfully.

The above is the detailed content of What should I do if a mysql error occurs when the computer is turned on?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn