当前位置:网站首页>登录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
边栏推荐
- 3.1 rtthread 串口设备(V1)详解
- Image super-resolution using deep convolutional networks(SRCNN)解读与实现
- 自动化测试怎么规范部署?
- BUAA magpie nesting
- C language judgment, ternary operation and switch statement usage
- Indicator system of KQI and KPI
- [Massey] Massey font format and typesetting requirements
- Suggestions for new engineer team members
- MADDPG的pythorch实现——(1)OpenAI MADDPG环境配置
- BUAA计算器(表达式计算-表达式树实现)
猜你喜欢
WPF效果第一百九十一篇之框选ListBox
1、工程新建
1. New project
给新人工程师组员的建议
1.16 - check code
蓝色样式商城网站页脚代码
JS音乐在线播放插件vsPlayAudio.js
Image super resolution using deep revolutionary networks (srcnn) interpretation and Implementation
MADDPG的pythorch实现——(1)OpenAI MADDPG环境配置
Exness foreign exchange: the governor of the Bank of Canada said that the interest rate hike would be more moderate, and the United States and Canada fell slightly to maintain range volatility
随机推荐
Princeton University, Peking University & UIUC | offline reinforcement learning with realizability and single strategy concentration
How to write compile scripts compatible with arm and x86 (Makefile, cmakelists.txt, shell script)
C#(二十七)之C#窗体应用
Differential GPS RTK thousand search
C#(二十九)之C#listBox checkedlistbox imagelist
Image super-resolution using deep convolutional networks(SRCNN)解读与实现
Suggestions for new engineer team members
Serial port-rs232-rs485-ttl
Remote Sensing Image Super-resolution and Object Detection: Benchmark and State of the Art
Teach you to build your own simple BP neural network with pytoch (take iris data set as an example)
[prediction model] difference method model
Quartz misfire missed and compensated execution
3.2 rtthread 串口设备(V2)详解
在字节做测试5年,7月无情被辞,想给划水的兄弟提个醒
[Qt5] QT QWidget immediately appears and disappears
[risc-v] external interrupt
2.13 weekly report
SAP ALV cell level set color
Python implementation of maddpg - (1) openai maddpg environment configuration
[optimization model] Monte Carlo method of optimization calculation