title: How to configure datasource for remote database connection in spring boot application
body: <p>I am developing a application in spring boot. I am using Mysql database for persistance. I have my database in remote server. How to configure datasource for remote database connection?</p>
  
  <p>Please help me configuring this in both property file as well as datasource bean configuration using annotations in my config class.</p>