fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal: caused by com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
fatal:
fatal: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
fatal: caused by java.net.ConnectException: Connection refused (Connection refused)
solution:
将下面以行注释掉。
#bind-address = 127.0.0.1
本文介绍了如何解决MySQL数据库连接失败的问题,特别是当遇到'Connection refused'错误时的解决办法。通过调整MySQL配置文件中的bind-address参数,可以有效解决无法连接到数据库服务器的问题。
3872

被折叠的 条评论
为什么被折叠?



