标签:blog png cnblogs img2024 Access user https denied 3413037
1.启动项目报连接数据库被拒绝
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731113834004-615120424.png)
2.用数据库连接工具也是提示同样错误
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731113958582-2045494132.png)
3.查看mysql服务是否启动,发现服务没启动
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731114205222-1352595164.png)
4.启动,提示服务被占用
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731114521713-2120837868.png)
5.排查后发现是之前的phpStudy里面的mysql自启所致
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731114834561-1259212082.png)
6.禁用后,重新启动mysql服务,可以成功访问
![](/i/l/?n=24&i=blog/3413037/202407/3413037-20240731115102113-1306654976.png)
标签:blog,
png,
cnblogs,
img2024,
Access,
user,
https,
denied,
3413037
From: https://www.cnblogs.com/yumeixiaosheng/p/18334343