Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC and CPanel

 
Shivesh Pathak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Shivesh
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!