ERROR 1045 (28000): Access denied for user 'root'@'::1' (using password: YES)
C:\Windows\system32>mysql -uroot -p'ZFB^2j899Wn'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'::1' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'::1' (using password: YES)
windows 下吊事多,不管3721,先重置一下口令
net stop mysql
mysqld --defaults-file=D:\app\local\mysql-5.7.34-winx64\my.ini --skip-grant-tables
alter user 'root'@'%' identified WITH mysql_native_password BY 'epmgy_Wh0711' ;
再试试,密码用单引号还是不行,需要双引号口令才行,叼毛win跟linux不一样(有特殊字符需要双引号引起来!!!!)。
C:\Windows\system32>mysql -uroot -p"epmgy_Wh0711 "
分类:
Mysql
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端