首先排除密码输入密码,如果是密码不对会有如下提示信息的

access denied for user ‘root’ @ ‘localhost ’(using password :YES)

不是的话便进行如下操作

1.首先打开控制面板找到管理工具Can't connect to MySQL server on localhost解决方案

2.管理工具里有服务点开Can't connect to MySQL server on localhost解决方案

3.服务里找到MySQl 右击鼠标,启动mysql服务,再次连接,正常。

Can't connect to MySQL server on localhost解决方案

 

 

相关文章:

  • 2021-06-29
  • 2021-12-20
  • 2021-12-02
  • 2021-07-25
  • 2021-05-23
  • 2022-01-26
猜你喜欢
  • 2021-12-20
  • 2022-12-23
  • 2021-12-27
  • 2021-07-01
  • 2021-08-16
  • 2021-11-03
  • 2021-09-12
相关资源
相似解决方案