Home > Database > Mysql Tutorial > body text

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

王林
Release: 2019-08-21 13:22:59
forward
3651 people have browsed it

1. The mysql service cannot be started

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

Solution:

Win R, enter services .msc, find the mysql service

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

, that is, the default service name is mysql55 instead of mysql

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

2. The mysql command cannot be recognized

Input mysql directly to enter the database and report an error

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

This is because the system does not know that mysql is What, we need to add the bin directory address in the installation address of mysql in the environment variable.

C:\Program Files\MySQL\MySQL Server5.5\bin;

Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd

Hope it can help those who are just learning mysql Classmate, thank you!

For more related questions, please visit the PHP Chinese website: //m.sbmmt.com/

The above is the detailed content of Detailed explanation of the problem that mysql cannot be started and the mysql command cannot be recognized under cmd. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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!