Hello, I have searched and searched to no avail. I have been able to add an external database to keycloak as long as both keycloak and mysql are containers and on the same network. My goal however is to have Keycloak launched on Google App Engine (in a container) and connected with Google Cloud SQL (an external MySQL instance).
My issue is that I am getting “Failed to Connect to Database” (see below) no matter which database I use. I even installed MySQL 5.7 on my local machine to test. Also tried Postgres. Same thing. How do I keep Keycloak in a container but still be able to use an external database that is not in a container?
FATAL [org.keycloak.services] (ServerService Thread Pool – 68) java.lang.RuntimeException: Failed to connect to database
Thank you in advance!