Problem Description:
Normally this is the case when you start MySQL:
1, win open input interface;
2, Input cmd command, right mouse button Select "Run as Administrator";
3, then enter the login statement to log in to MySQL in the interface:
- -p password
As long as the user name and password are correct, you can basically log in successfully. But today anyway the login failed:
The content description is basically like this: MySQL is not an internal command. In other words, MySQL is not logged in properly;
After reviewing the data, I found that the basic cause of the problem is: I should find the MySQL installation directory, and then go to \ bin (there is a mysql.exe executable) directory and then run the login MySQL command, so that you can correctly call the MySQL command to log in to MySQL.
After the normal login is this:
Others are just records:
1. Startup and shutdown of MySQL service:
// start MySQL service: net start MySQL; // shut down MySQL service net stop MySQL;
A problem with MySQL login exception: