"Management" (right-click)-->"Service", no mysql-related services were found. The solution is as follows: (1) Open the cmd window and adjust the path to the bin file of mysql command line client, that is, enter: cd C:\Program Files\MySQL\MySQ"/> "Management" (right-click)-->"Service", no mysql-related services were found. The solution is as follows: (1) Open the cmd window and adjust the path to the bin file of mysql command line client, that is, enter: cd C:\Program Files\MySQL\MySQ">

Home  >  Article  >  Database  >  How to solve mysql5.1 command line client crash when logging in

How to solve mysql5.1 command line client crash when logging in

一个新手
一个新手Original
2017-09-30 10:10:252874browse

Because I haven’t used mysql command line client for a long time. When I was using it today, when I opened the interface and entered the password, it crashed. At the same time, the workbench platform also showed that it could not connect to the database. First, I tried Baidu and found that under "Computer"-->"Management" (right-click)-->"Service", no mysql-related services were found. The solution is as follows:

(1) Open the cmd window and adjust the path to the bin file of mysql command line client, that is, enter: cd C:\Program Files\MySQL\MySQL Server 5.1\bin \

(2) After adjusting the working path, enter mysqld.exe -install after C:\Program Files\MySQL\MySQL Server 5.1\bin\> (there is a space between the two characters ) Service successfully installed.

(3) In C:\Program Files\MySQL\MySQL Server 5.1\bin\>net start mysql At this point the mysql service is started At this time, open the mysql command line client again, enter the password to log in, and the crash will not occur.

The above is the detailed content of How to solve mysql5.1 command line client crash when logging in. 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