zoukankan      html  css  js  c++  java
  • MySQL 错误代码:2003 idea错误:ERROR DruidDataSource:1846

    idea项目一启动就报错:

    20:01:13,047 ERROR DruidDataSource:1846 - create connection error
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    .....

    瞄了一下jdbc.propertioes,没毛病啊,去看下mysql,发现登录报错:

    经网络搜索说是mysql服务没启动,遂win+s搜索服务,打开服务找到mysql。。。缓缓打出一个问号。。。。还真没启动(@_@;),惊了,这我就纳闷了,平常一直都是自启,难道是我昨天装了电脑管家,软件权限一通瞎几把操作,把mysql服务都杀了?

    遂启动MySQL服务,ojbk。

  • 相关阅读:
    Python之sys & os
    1161
    1142
    P1599 货币
    P1547逆转,然后再见
    P1629八
    P1753HackSon的趣味题
    Problem 2233 ~APTX4869
    1269
    1091. Tmutarakan Exams
  • 原文地址:https://www.cnblogs.com/lingblog/p/11827641.html
Copyright © 2011-2022 走看看