[Linux] Ubuntu18.04 install mysql password wrong

installation

The installation process can be very simple

sudo apt-get install mysql-server

Then see if there is a successful start

systemctl status mysql

See the state is running on the right

change Password

After the installation is complete password is always right ,,,
by skipping certification can go into the database and then later change the password can indeed modify
But after canceling skip authentication or password is incorrect ....
I look into the database after the investigation is to determine md5 modifications success

The solution is https://blog.csdn.net/longmenshenhua/article/details/88836576
lucky to find solutions

And encryption rules seem to have a relationship ...

Guess you like

Origin www.cnblogs.com/cjdty/p/11604489.html