mysql your password has expired

Linux平臺,c++執行:mysql

mysql_real_connect(mysql,"127.0.0.1" ,"root","citic","citic",3306,NULL,0)

時報以下錯誤:
error:Your password has expired. To log in you must change it using a client that supports expired passwords.c++

解決方案:sql

執行:mysql_real_connect(mysql,"127.0.0.1" ,"root","111111","11111",3306,NULL,0)spa

相關文章
相關標籤/搜索