当前位置:网站首页>全网最简单解决方式1045-Access denied for user [email protected](using password:YES)
全网最简单解决方式1045-Access denied for user [email protected](using password:YES)
2022-07-25 13:01:00 【111辄】
最近 Javaweb小学期 和 数据库小学期 答辩,极限赶大作业,唉
1045-Access denied for user [email protected](using password:YES)
连接数据库时出现了这个问题,网上大概有3种解决方法,我试了下都无效。我估计跟mysql重复开启啥的有关系,因为十分钟前还可以正常连接,然后电脑自动关机(电脑反复坏,还没修),再开机后就出现这个错误。
步骤一:任务栏空白处->鼠标右键->任务管理器->详细信息,关闭mysqld任务。
这时候用Navicat连也会报错,报的好像是连接不上啥的,忘了没记。这是因为mysql被关闭了
步骤二:用管理员权限打开cmd控制台,切换到mysql安装bin目录下
![]()
net start mysql,注意一定用管理员权限才能启动数据库

然后连接mysql就正常了
之前连数据库还报了一个错,记录一下
Your password has expired.To log in you must change itusing a client that supports expired passwords
这个报错的意思是你的密码没错,但是过期了。
我用的MySQL5.7,把设置密码的语句改成set password for [email protected] = password('123456');就行了。不同版本可能稍有区别。
边栏推荐
- 【CSDN 年终总结】结束与开始,一直在路上—— “1+1=王”的2021总结
- 卷积神经网络模型之——GoogLeNet网络结构与代码实现
- Convolutional neural network model -- googlenet network structure and code implementation
- AtCoder Beginner Contest 261E // 按位思考 + dp
- 部署Apache网站服务以及访问控制的实现
- Shell common script: judge whether the file of the remote host exists
- Memory layout of program
- ECCV2022 | TransGrasp类级别抓取姿态迁移
- Pytorch creates its own dataset and loads the dataset
- 我的创作纪念日
猜你喜欢

深度学习的训练、预测过程详解【以LeNet模型和CIFAR10数据集为例】
![[300 opencv routines] 239. accurate positioning of Harris corner detection (cornersubpix)](/img/a6/c45a504722f5fd6e3c9fb8e51c6bb5.png)
[300 opencv routines] 239. accurate positioning of Harris corner detection (cornersubpix)

零基础学习CANoe Panel(15)—— 文本输出(CAPL Output View )

ECCV2022 | TransGrasp类级别抓取姿态迁移

【AI4Code】《CoSQA: 20,000+ Web Queries for Code Search and Question Answering》 ACL 2021

【GCN-RS】Region or Global? A Principle for Negative Sampling in Graph-based Recommendation (TKDE‘22)
![[Video] Markov chain Monte Carlo method MCMC principle and R language implementation | data sharing](/img/20/bb43ab1bc447b519c3b1de0f809b31.png)
[Video] Markov chain Monte Carlo method MCMC principle and R language implementation | data sharing

AtCoder Beginner Contest 261 F // 树状数组
![[Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing](/img/6e/9e0abf8db5ec93080033bd89605ac2.jpg)
[Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing

【CTR】《Towards Universal Sequence Representation Learning for Recommender Systems》 (KDD‘22)
随机推荐
2022 年中回顾 | 大模型技术最新进展 澜舟科技
需求规格说明书模板
The world is exploding, and the Google server has collapsed
Shell常用脚本:检测某域名、IP地址是否通
Zero basic learning canoe panel (15) -- CAPL output view
Microsoft proposed CodeT: a new SOTA for code generation, with 20 points of performance improvement
程序的内存布局
485 communication (detailed explanation)
卷积神经网络模型之——GoogLeNet网络结构与代码实现
卷积神经网络模型之——AlexNet网络结构与代码实现
ECCV 2022 | 登顶SemanticKITTI!基于二维先验辅助的激光雷达点云语义分割
我的创作纪念日
【CTR】《Towards Universal Sequence Representation Learning for Recommender Systems》 (KDD‘22)
Substance Designer 2021软件安装包下载及安装教程
详解浮点数的精度问题
Force deduction 83 biweekly T4 6131. The shortest dice sequence impossible to get, 303 weeks T4 6127. The number of high-quality pairs
Vim技巧:永远显示行号
【AI4Code】《Pythia: AI-assisted Code Completion System》(KDD 2019)
Emqx cloud update: more parameters are added to log analysis, which makes monitoring, operation and maintenance easier
Common operations for Yum and VIM