I use JDBC to connect to MySQL. When it’s at localhost:3306, everything is OK.
localhost:3306
But when I move my application to another computer in the intranet, and u
For me it was this solution I found here, If IP6 connectivity is enabled, connection to "localhost" may be slow, instead use the ip address, 127.0.0.1. This worked for me.
my mysql slow to connect problem was solved by this solution