Why not install PLSQL or TOAD on the development machine now, test that the network is smooth, and then connect to the Java database? If you use MYCLIPSE, it comes with DATABASE EXPLORER, you can test it directly first
I don’t know if yours is mysql. Mysql requires some permission processing for your sql access account. Change the previous 127.0.0.1@username to %@username to access the local mysql database through the external network.
Just throw an exception and see what the reason is
Post the error so it’s easier to analyze the problem
Why not install PLSQL or TOAD on the development machine now, test that the network is smooth, and then connect to the Java database? If you use MYCLIPSE, it comes with DATABASE EXPLORER, you can test it directly first
I don’t know if yours is mysql. Mysql requires some permission processing for your sql access account. Change the previous 127.0.0.1@username to %@username to access the local mysql database through the external network.