当前位置:网站首页>【已解决】MySQL异常:ERROR 1045 (28000): Unknown error 1045,忘记初始密码
【已解决】MySQL异常:ERROR 1045 (28000): Unknown error 1045,忘记初始密码
2022-06-30 06:56:00 【菜鸟是大神】

skip-grant-tables
保存,重启数据库
重新执行命令“mysql -u root -p ”,不需要输入密码直接按enter键可以登录成功
输入获取的数据库初始密码,执行下述3个命令,修改密码并刷新权限;
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;
FLUSH PRIVILEGES;
边栏推荐
- 【转】存储器结构、cache、DMA架构分析
- Servlet principle
- Egret P2 pit encountered by physical engine (1)
- Linu基础-分区规划与使用
- Why does ETL often become ELT or even let?
- ftplib+ tqdm 上传下载进度条
- SOC_ AHB_ SD_ IF
- Which securities company is good for opening a mobile account? Also, is it safe to open an account online?
- RT thread Kernel Implementation (II): critical area, object container
- Xshell传输文件
猜你喜欢

【模糊神经网络】基于模糊神经网络的移动机器人路径规划

Pay attention to this live broadcast and learn about the path to achieve the dual carbon goal of the energy industry

1.6 - CPU composition

原理:WebMvcConfigurer 与 WebMvcConfigurationSupport避坑指南

Out of class implementation of member function of class template

MySQL优化:从十几秒优化到三百毫秒

Google Earth Engine(GEE)——墨累全球潮汐湿地变化 v1 (1999-2019) 数据集

经纬恒润再次荣获PACCAR集团 10PPM 质量奖

六,购物⻋与订单

Class templates and friends
随机推荐
SOC_AHB_SD_IF
RT thread migration to s5p4418 (IV): thread synchronization
Redis cache
随机网络,无标度网络,小世界网络以及NS小世界的性能对比matlab仿真
【申博攻略】五.专家推荐信模板
IDEA import导入的类明明存在,却飘红?
Linux服务器安装Redis
RT thread migration to s5p4418 (I): scheduler
RT thread Kernel Implementation (I): threads and scheduling
Use of sscanf function
Base64 encoding method implemented by native JS
Keil - the "trace HW not present" appears during download debugging
Joseph problem C language
C language: exercise 3
Basic fragmentary thoughts
原理:WebMvcConfigurer 与 WebMvcConfigurationSupport避坑指南
memcpy内存重叠的解决
【Hot100】15. 三数之和
RT thread Kernel Implementation (III): implementation of idle threads and blocking delay
[Hot100]回文子串 与 最长回文子串