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

相关文章
相关标签/搜索