Communication Link Failure Error

HL7 , MYSQL , JDBC India
  • 11 years ago

    trying establish the MySQL connection over a network getting problem with connection.

    I am using the com.mysql.jdbc.Driver for connecting. I am getting error in connection that Communication Error.

    the Reference code is : Class.forName("com.mysql.jdbc.Driver").newInstance(); con=DriverManager.getConnection("jdbc:mysql://IPAddress:MySQLPort/Database","Username","Password");

    can any one help me in fxing this problem.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'” - Isaac Asimov