The solution to the flashback when MySQL enters the password

I believe that many beginners are like me. When using MySQL, there will be a phenomenon of flashback after entering the password. I will summarize the possible reasons for this phenomenon as follows. I hope it can help those who encounter the same problem as me. people.

Press winky (the key between Fn and Alt) + R key, the run box appears, enter cmd and press Enter.
write picture description here
Click "OK", the DOS window will appear, cd to the path where MySQL is installed, and then use the command:
cd C:\Program Files\MySQL\MySQL Server 5.7\bin
Enter the command: mysql -u root -p
write picture description here
I get an error Prompt 2003, this is because the MySQL server is not restarted, enter msconfig in [Run].
write picture description here
Open the task manager and check whether the MySQL service is enabled.
write picture description here
​MySQL stopped running, we can start it in the task manager.
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325643855&siteId=291194637