mysql> update mysql.user set password=PASSWORD(‘新密码‘) where User=‘root‘;
mysql> flush privileges;
mysql> exit
时间: 2024-10-22 04:36:01
mysql> update mysql.user set password=PASSWORD(‘新密码‘) where User=‘root‘;
mysql> flush privileges;
mysql> exit