This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help setting DB connection using mysql from a server  RSS feed

Vikram Bindal
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 with certain username and password.

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

Help would glady be appreciated
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!