MSYQL 5.7. Version 11 installation
The temporary password for the root generated by MySQL is
2016-05-10t10:05:47.421912z 1 [Note] A temporary password is generated for [email protected]: v:gnxsw5ftkw
Use
Mysql-u root-p v:gnxsw5ftkw Prompt (intermediate restart of MySQL, may be the cause of the restart, normally can be logged in)
Your Password has expired. To log on you must change it using a client that supports expired passwords
Find a solution in StackOverflow, connection address: Http://stackoverflow.com/questions/33387879/mysql-password-expired-cant-connect
Workaround:
[Email protected] bin]#/mysqladmin-uroot-p password
Enter Password://Enter the above v:gnxsw5ftkw here
New password://re-enter password
Confirm New Password://re-enter password
Problem Solving!
Your Password has expired. To log on you must change it using a client that supports expired passwords