Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010
    Rep Power

    Default unable to connect remote database using jdbc

    i want to connect remote database(which have MySql 5.1.26 RDMS)
    and give following exception....

    Cannot create PoolableConnectionFactory (Communications link failure

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Firewall, grants, host/ip, etc, etc, etc. First question first, do you have any idea what actually needs to be done on the network and/or MySQL side of things (forget about Java at the moment all together). If not, find that out first and make sure all of the conditions are met before playing around with jdbc. Doing both at the same time will be an exercise in futility.

Similar Threads

  1. how to connect to database using jdbc in servelets
    By sureshmca08 in forum Java Servlet
    Replies: 2
    Last Post: 05-28-2010, 10:06 AM
  2. Replies: 4
    Last Post: 04-28-2010, 07:13 PM
  3. failed to connect to remote vm
    By plummer in forum Eclipse
    Replies: 1
    Last Post: 05-08-2009, 09:11 AM
  4. connect JDBC to offline database
    By nancyhung in forum JDBC
    Replies: 1
    Last Post: 04-12-2008, 12:04 AM
  5. Using JDBC to connect to ORACLE database
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-10-2008, 12:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts