Home > database >  Can not connect JDBC remote MYSQL
Can not connect JDBC remote MYSQL

Time:03-21

Each time, because companies need to remote VPN dial-up WIN10 updates or abnormal shutdown, VPN can normal dial-up Internet access, MYSQL WORKBETCH can normal connection, through The command up SQLPLUS or TELNET access database can be normal, but DBEAVER or JDBC code by connection on a remote database connection not, quote, "The last packet sent successfully to The server was 0 milliseconds line. The driver has not received any packets from The server", told online timeouts doesn't matter, such as online said The wrong way have not tried, local MYSQL or other MYSQL JDBC connection is normal, not The database is The VPN dial-up, mindless every time delete process or uninstall software only inadvertently make a week or so successful,
The live more urgent and not normal shutdown last night cause WIN10 also automatically update, not a JDBC connection again, few points, and bosses feel free to comment

CodePudding user response:

Online have a post, a software conflict, need to uninstall, but don't know how to find the corresponding software of conflict

CodePudding user response:

Debug the code in the VM + - Djava.net.preferIPv4Stack=true, can be solved, but there is no tool DBEAVER
  • Related