1. 程式人生 > >關於you must reset your password using ALTER USER statement before exectuting this statement 解決

關於you must reset your password using ALTER USER statement before exectuting this statement 解決

使用 cal using mysql this localhost 解決 host 運行

安裝完mysql 之後,登陸以後,不管運行任何命令,總是提示這個

step 1:SET PASSWORD = PASSWORD(‘your new password‘);

step 2:ALTER USER [email protected] PASSWORD EXPIRE NEVER;

step 3:flush privileges;

完成以上三步退出再登,使用新設置的密碼就行了,以上除了紅色的自己修改成新密碼外,其他原樣輸入即可

關於you must reset your password using ALTER USER statement before exectuting this statement 解決