小Hi

不积跬步,无以至千里;不积小流,无以成江海。

 

(转)安装appserv找不着phpmyadmin登录密码解决方案,解决MySQL修改密码

1.找不到初始密码可以在my.ini中[mysqld] 添加:

skip-grant-tables

2.修改MySQL数据库配置文件无密码登录后,修改密码报错:

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

3.先执行:(带分号)

flush privileges;

4.再执行修改密码命令,可以了:(带分号)

set password for root@localhost=password('你的密码');

posted on 2021-01-13 11:43  从小就喜欢编程  阅读(172)  评论(0编辑  收藏  举报

导航