'MySQL 8.0 Command Line Client crashes right after entering the correct password
MySQL 8.0 Command Line Client crashes right after entering the correct password. I have also checked in services and there is no problem there. I'm using windows
Solution 1:[1]
It is because MySQL Server stop, may be you run another application that use the same port. Try to run MySQL Installer Community, and you will find the program that you have to reconfigure (blue text). Try to configure MySQL Server ant click Test Connection.
Solution 2:[2]
It's hard to tell with no debug output or error codes, but disabling ssl might do the trick:
mysql --ssl-mode=DISABLED --host=$MYSQL_HOST --user=$MYSQL_USER ....
Solution 3:[3]
This might be because MYSQL service is stopped.
Solution 4:[4]
I had the same issue, was looking through Google to find an answer and came here. Are you sure, that you provided MySQL password? The root cause of my problem was the fact, that I put the MySQL user instead of MySQL password (the root one). Now everything is working fine.
Solution 5:[5]
That could mean that the password is failing. Check CapsLock key.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ester Rose |
Solution 2 | Mahmoud K. |
Solution 3 | srihitha |
Solution 4 | P. Parker |
Solution 5 | Fernando |