当前位置:网站首页>全网最简单解决方式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');就行了。不同版本可能稍有区别。
边栏推荐
- 零基础学习CANoe Panel(15)—— 文本输出(CAPL Output View )
- Force deduction 83 biweekly T4 6131. The shortest dice sequence impossible to get, 303 weeks T4 6127. The number of high-quality pairs
- 详解浮点数的精度问题
- 零基础学习CANoe Panel(13)—— 滑条(TrackBar )
- Docekr学习 - MySQL8主从复制搭建部署
- B tree and b+ tree
- Zero basic learning canoe panel (14) -- led control and LCD control
- The world is exploding, and the Google server has collapsed
- Excel import and export source code analysis
- Substance designer 2021 software installation package download and installation tutorial
猜你喜欢
![[operation and maintenance, implementation of high-quality products] interview skills for technical positions with a monthly salary of 10k+](/img/d8/90116f967ef0f5920848eca1f55cdc.png)
[operation and maintenance, implementation of high-quality products] interview skills for technical positions with a monthly salary of 10k+

Docker learning - redis cluster -3 master and 3 slave - capacity expansion - capacity reduction building

Microsoft proposed CodeT: a new SOTA for code generation, with 20 points of performance improvement

Shell常用脚本:检测某域名、IP地址是否通

Substance designer 2021 software installation package download and installation tutorial

Chapter5 : Deep Learning and Computational Chemistry
![Detailed explanation of switch link aggregation [Huawei ENSP]](/img/34/dff118b52404e35f74a8f06b2517be.png)
Detailed explanation of switch link aggregation [Huawei ENSP]

Chapter5 : Deep Learning and Computational Chemistry

MLIR原理与应用技术杂谈

【AI4Code】《Unified Pre-training for Program Understanding and Generation》 NAACL 2021
随机推荐
CONDA common commands: install, update, create, activate, close, view, uninstall, delete, clean, rename, change source, problem
程序员成长第二十七篇:如何评估需求优先级?
网络空间安全 渗透攻防9(PKI)
Docekr learning - MySQL 8 master-slave replication setup deployment
Force deduction 83 biweekly T4 6131. The shortest dice sequence impossible to get, 303 weeks T4 6127. The number of high-quality pairs
Memory layout of program
卷积神经网络模型之——LeNet网络结构与代码实现
Connotation and application of industrial Internet
[300 opencv routines] 239. accurate positioning of Harris corner detection (cornersubpix)
conda常用命令:安装,更新,创建,激活,关闭,查看,卸载,删除,清理,重命名,换源,问题
7行代码让B站崩溃3小时,竟因“一个诡计多端的0”
ESP32-C3 基于Arduino框架下Blinker点灯控制10路开关或继电器组
Docker学习 - Redis集群-3主3从-扩容-缩容搭建
【GCN-RS】Learning Explicit User Interest Boundary for Recommendation (WWW‘22)
Mlx90640 infrared thermal imager temperature sensor module development notes (V)
深度学习的训练、预测过程详解【以LeNet模型和CIFAR10数据集为例】
【GCN-RS】Towards Representation Alignment and Uniformity in Collaborative Filtering (KDD‘22)
EMQX Cloud 更新:日志分析增加更多参数,监控运维更省心
【GCN-RS】Region or Global? A Principle for Negative Sampling in Graph-based Recommendation (TKDE‘22)
卷积神经网络模型之——AlexNet网络结构与代码实现