SQL Error: 0, SQLState: 08S01 Communications link failure

后端 未结 4 1044
野趣味
野趣味 2020-12-03 07:52

I am getting this error (not so frequently):

2013-05-08 16:44:35,786  WARN (JDBCExceptionReporter.java:100) [org.hibernate.util.JDBCExceptionReporter, logExc         


        
4条回答
  •  失恋的感觉
    2020-12-03 08:00

    Check your server config file /etc/mysql/my.cnf - verify bind_address is not set to 127.0.0.1. Set it to 0.0.0.0 or comment it out then restart server with:

    sudo service mysql restart
    

提交回复
热议问题