aspose file tools*
The moose likes JDBC and the fly likes Help setting DB connection using mysql from a server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Help setting DB connection using mysql from a server" Watch "Help setting DB connection using mysql from a server" New topic
Author

Help setting DB connection using mysql from a server

Vikram Bindal
Greenhorn

Joined: Jul 30, 2004
Posts: 7
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help setting DB connection using mysql from a server