一、选择mysql数据库-》user表-》执行sql语句-》update user set password=password('123456') where User='root' -》重启服务php
环境:phpmyadmin版本信息: 4.0.4mysql