xampp的mysql出现Your password has expired. To log in you must change it using a client that supports ex

xampp的mysql出现Your password has expired. To log in you must change it using a client that supports expired passwords.

解决方法:

1、停止mysql服务器

sudo /opt/lampp/lampp stopmysql

2、使用'--skip-grant-tables' 参数来启动 mysqld

sudo /opt/lampp/sbin/mysqld --skip-grant-tables

3、再开一个客户端进入mysql

sudo /opt/lampp/bin/mysql -uroot

现在会直接进入mysql

4、连接mysql权限数据库:http://www.yayihouse.com/yayishuwu/chapter/1884

猜你喜欢

转载自blog.csdn.net/qq_30908729/article/details/89636206