当前位置:网站首页>登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES
登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES
2022-07-06 03:40:00 【两片空白】
这是因为输入密码错误导致的
解决办法:修改mysql配置文件添加一条命令 skip-grant-tables,跳过密码输入,或者在输入密码时直接回车。
1. 修改配置文件
Linux下mysql的配置文件是 /etc/my.cnf
在[mysql]下添加命令即可:

2. 重启mysql服务
service mysql restart
边栏推荐
- 简述C语言中的符号和链接库
- [slam] lidar camera external parameter calibration (Hong Kong University marslab) does not need a QR code calibration board
- 【SLAM】lidar-camera外参标定(港大MarsLab)无需二维码标定板
- Failure causes and optimization methods of LTE CSFB
- RT-Thread--Lwip之FTP(2)
- RT thread -- FTP of LwIP (2)
- C#(二十九)之C#listBox checkedlistbox imagelist
- Esbuild & SWC: a new generation of construction tools
- Blue Bridge Cup - Castle formula
- Pytorch基础——(1)张量(tensor)的初始化
猜你喜欢
![[practice] mathematics in lottery](/img/29/2ef2b545d92451cf083ee16e09ffb4.jpg)
[practice] mathematics in lottery

SAP ALV单元格级别设置颜色

mysql从一个连续时间段的表中读取缺少数据

BUAA magpie nesting

Safety science to | travel, you must read a guide

数据分析——seaborn可视化(笔记自用)

Flask learning and project practice 8: introduction and use of cookies and sessions

Recommended papers on remote sensing image super-resolution

Containerization Foundation

Princeton University, Peking University & UIUC | offline reinforcement learning with realizability and single strategy concentration
随机推荐
Four logs of MySQL server layer
Schnuka: 3D vision detection application industry machine vision 3D detection
Differential GPS RTK thousand search
2. GPIO related operations
RT-Thread--Lwip之FTP(2)
ESBuild & SWC浅谈: 新一代构建工具
pytorch加载数据
Idea push rejected solution
JS music online playback plug-in vsplayaudio js
2.13 weekly report
ASU & OSU | model based regularized off-line meta reinforcement learning
Pytorch基础——(2)张量(tensor)的数学运算
The solution of permission denied (750 permissions should be used with caution)
11. Container with the most water
SAP ALV color code corresponding color (finishing)
C language circular statement
【Qt5】Qt QWidget立刻出现并消失
Serial port-rs232-rs485-ttl
[analysis of variance] single factor analysis and multi factor analysis
Record the process of reverse task manager