Help setting DB connection using mysql from a server
posted 10 years ago
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 ??