Hello All, I am using MySql 5.0. I am trying to connect database using mysql-connector-java-5.1.10-bin.jar driver. I am getting the following exception
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure my java code is as follows import java.sql.*; class Test{ public static void main(String args[]){ try{ Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection con=DriverManager.getConnection("jdbc:mysql://192.168.91.103/pamafert","pamafert","pa...@olive"); System.out.println("Success"); }catch (Exception e){ System.out.println("Fail" +e); } } } I have searched forums but did not get the solution. Can any one please help me fix this problem. Thanks, Anil Sharma. -- View this message in context: http://www.nabble.com/com.mysql.jdbc.exceptions.jdbc4.CommunicationsException%3A-Communications-link-failure-tp25675159p25675159.html Sent from the OFBiz - User mailing list archive at Nabble.com.