This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot connect a MySQL database on a hosted website

 
raj warke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I have a MySQL database on a hosted website. I want to connect to the database by using JDBC, as below -



When I run the program, I get below error -

Error :


I can't understand where this error is coming from? and how to solve it?
 
Anand Hariharan
Rancher
Posts: 272
C++ Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This belongs in one of the Database forums. You can expect your post to be moved somewhere there (JDBC?) shortly.
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, JDBC would make much more sense than the forum it's in now. I will move it there.

But as for the question: What does your hosting company say about this? Did they tell you that your database would be accessible over the network? Or did you just assume that? At any rate your next step should be to contact their customer support people.
 
raj warke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks paul. I am not confirm whether my website host provide MySQL db access. I will contact CC.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic