File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes JDBC and CPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC and CPanel" Watch "JDBC and CPanel" New topic

JDBC and CPanel

Shivesh Pathak

Joined: Aug 10, 2011
Posts: 1
Hi, so i just signed up with Arvixe to make a website, and bam, i find out that i cannot connect to the mysql database on my comp:
Now, i made a new database on the cPanel thing, and i was wondering how i would connect to the database.....
essentially what i am trying to ask here, is how to connect to the database. In the normal connection, all i have to do is:

however, how would i connect to the database online? this is really confusing, and i don't understand it.

If anyone can gimme a code example (not preferred) or a tutorial site (very much preferred) , that would be great.

Thanks a bunch,
I agree. Here's the link:
subject: JDBC and CPanel
Similar Threads
how to create a connection pool?
Connection String
Oracle JDBC connection using JNDI lookup
Html Input to oracle through servlet and JSP output
what exactly happen when we use connection pool ?