The problem and solution of no prompt for password when installing MySQL in Ubuntu 18.04 or centos 7
The reason is that MySQL uses socket authentication option by default for the root user.
If you want to disable it, you need to change Authentication plugin for the root account from "Socket authentication" to "Native MySQL authentication".
mysql -uroot -pPass@1234!
Comments
Post a Comment