Remote database on heroku with spring boot
Go to https://elements.heroku.com/
for add a remote database and select ClearDB MySQL then click the Install ClearDB MySQL.
- You will have a connection address like the one below:
- Then you can set the application.properties file as follows:
- Next, open MySQL Workbench and add something:
- As a result, our application is working localhost and on heroku