修改mysql的root的密码
首先用root账号登陆phpmyadmin,然后点击左侧的mysql,然后选择进入mysql数据库,输入以下命令:
update user set password=password('123456') where User='root'
然后在服务器中mysql命今下执行set password for root@localhost=old_password('123456');
update user set password=password('123456') where User='root'
然后在服务器中mysql命今下执行set password for root@localhost=old_password('123456');