"solo 搭建初始化的时候出错 Begin a transaction failed 环境 阿里云轻量级应用服务器 centos7 环境 阿里云的系统 java 环境 [root@iZwz91u9ywulp7mntyuaveZ solo]# java -version java version '1.8.0_191' .."

Begin a transaction failed solo 搭建初始化

solo 搭建初始化的时候出错 Begin a transaction failed 环境 阿里云轻量级应用服务器 centos7 环境 阿里云的系统 java 环境 [root@iZwz91u9ywulp7mntyuaveZ solo]# java -version java version “1.8.0_191” Java™ SE Runtime Environment (build 1.8.0_191-b12) Java HotSpot™ 64-Bit Server VM (build 25.191-b12, mixed mode) 就安装了这两个 附上根目录下的日志

solozip

感谢    关注    收藏    赞同    反对    举报    分享
被采纳的回答
  • 88250  

    仔细看下日志:

    com.mysql.cj.jdbc.exceptions.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.
    	at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
    	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
    	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
    	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
    	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
    	....
    	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
    	at org.eclipse.jetty.server.Server.doStart(Server.java:383)
    	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    	at org.b3log.solo.Starter.main(Starter.java:166)
    Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
    
3 回帖    
请输入回帖内容...
  • 88250      

    仔细看下日志:

    com.mysql.cj.jdbc.exceptions.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.
    	at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
    	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
    	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
    	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
    	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
    	....
    	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
    	at org.eclipse.jetty.server.Server.doStart(Server.java:383)
    	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    	at org.b3log.solo.Starter.main(Starter.java:166)
    Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
    
    2 回复 
    感谢    赞同    反对    举报    分享       回复
  • GItmoe            

    谢谢 d 大

    感谢    赞同    反对    举报    分享       回复
  • GItmoe            

    链接不到数据库啊

    感谢    赞同    反对    举报    分享       回复