Home > Database > Mysql Tutorial > body text

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

藏色散人
Release: 2020-11-13 09:20:53
Original
3278 people have browsed it

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
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!