PDA

View Full Version : Accessing Database from JDBC



pp_bomb
03-17-2009, 04:28 PM
Good day everybody. I am trying to access my database at my host using JDBC.

I basically need the URL so I can proceed.

The link I use (when working offline) is:

jdbc:mysql://localhost/databasename

I have tried
jdbc:mysql://65.99.205.93/databasename

But apparently there is no result. I would like to know if my URL needs more information and if there is something I need to do or know tell me where to find it.

GXX
03-18-2009, 05:35 AM
You will probably need to allow access to your database outside of localhost. Log into DA and you can change this under MySQL Admin.