mysql5.7初始化进入mysql执行指令会报错

You must reset your password using ALTER USER statement before executing this statement.

解决方法

set password = password('123456');

欢迎留言