This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
JDBC, mysql connector/j, face a problem to connect mysql 5.1 and JSE.
Can't write UTF8 chars
how To connect the mysql database from java with my webserver
JSP and MySQL and issues
mysql url connection issues