< Previous Challenge - Home - Next Challenge >
The Spring Boot application uses JPA and supports both in memory databases as well as MySQL. In this challenge we’ll put our database on Azure while the code is running locally. Taking baby steps :)
Create an Azure Database for MySQL and make sure that the application (which is still running locally) can connect to it without changing any code.
mysql
clientIn order to find resources in Azure (existing or to be created) you can use the Search bar in the portal, look for the text bar at the top which you can activate by pressing the keys G
and /
at the same time.
Azure Cloud Shell includes a bunch of various tools, including a mysql
client.
And note that you can also pass configuration information to Spring Boot through environment variables.