sudo stop mysql
sudo /usr/bin/mysqld_safe --skip-grant-tables&
mysql
use mysql
update user set password=password('new password') where user='root';
exit;
sudo start mysql
reset mysql/phpmyadmin passport
最新推荐文章于 2024-08-27 15:51:22 发布