Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help setting DB connection using mysql from a server

 
Vikram Bindal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am creating a web application which requires me to use MySQL DB.
For testing purposes I have used my own machine as a server, so I havent had any problems using the setup connection jdbc:mysql://localhost:3306/DBName
and my entire application works cool.

Now, I have a server setup at another remote computer, which has given me a particular URL where I can go and create my DB and use that for my application.

Say for example purposes. The URL is www.Whatever.com with certain username and password.

HOW can I create a connection to this place.
Does it have to be like jdbc:mysql://Whatever.com:3306/DBName ??

Help would glady be appreciated
Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic