Problem connecting to remote mysql database
- by user361024
I am trying to connect to a mysql db on a shared server. I am using a java application to make the connection. Problem doesn't happen when I connect to localhost db.
URL = "jdbc:mysql://SHARED HOST IP:3306/DBNAME";
USER = "dbUSER";
PASS = "dbPASS";
Connection conn = DriverManager.getConnection(URL, USER, PASS);
java.sql.SQLException: Access denied for user 'DBUSER'@'mycomputersIP???' (using password: YES)
It is strange that it says denied for dbuser@ mycomputersip instead of dbuser@sharedhostIP
Is there a setting on my wireless router that is screwing things up?