My code:
String connectionurl="jdbc:mysql://parthramiz.esy.es/u804261533_impac";
Class.forName("com.mysql.jdbc.Driver");
String user="abc";
String passwd="****";
Connection con=DriverManager.getConnection(connectionurl,user,passwd);
Error occur:
CommunicationsException : Communications link failure Last packet sent to the server was 0 ms ago.
Which connection string used?