My requirement is that I need to access the database which is hosted on My Web Site on MySql with CPanel. Now I would like to access the content of that database from local java application which is made up of JFrame.
My Question is that how to connect local app woth the connection string of Database which is hosted?
Connection con=DriverManager.getConnection(
"jdbc:mysql://localhost:3306/","admin","pass@123");
Please tell me that what should be the connection string.