时间:2021-07-01 10:21:17 帮助过:3人阅读
windows版本
命令行输入
net stop mysql
mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 6.0\my.ini" --console --skip-grant-tables
mysql -u root
UPDATE user SET Password=PASSWORD(‘7ujm&UJM‘) where USER=‘root‘;
flush privileges;
然后在重启mysql即可
mysql安装完之后root不能登录问题
标签:roo mysql\ password pass 输入 top tables where flush