ERROR 1290 HY000: The MySQL server is running with the --skip-grant-tables option so it cannot exe
找不到初始密码可以在my.ini中[mysqld] 添加:
skip-grant-tables
修改MySQL数据库配置文件无密码登录后,修改密码报错:
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
先执行:
flush privileges;
再执行修改密码命令
set password for root@localhost=password('你的密码');