Database failing to connect

0
Hi, I'm trying to create a Mendix project and run it with minikube. I was able to successfully run the example mendix starter here https://github.com/pommi/mendix-docker with docker but when I try to run and deploy it locally, "m2ee start" hangs and the application never starts. I checked app.log and this is what I'm seeing: 018-03-28 16:53:41.640 INFO - Logging: Logging to file: /root/data/log/app.log, max size: 10240KiB, max rotation: 10 2018-03-28 16:53:41.667 INFO - Core: Mendix Runtime 5.13.1 (build 3976). Copyright © 2003-2015 Mendix bv. All rights reserved. 2018-03-28 16:53:42.371 WARNING - ConnectionBus: Database connections: 0 active, 0 idle. 2018-03-28 16:53:42.371 ERROR - ConnectionBus: Opening JDBC connection to db:5432 failed with SQLState: 08001 Error code: 0 Message: The connection attempt failed. Retrying...(1/4) 2018-03-28 16:53:42.473 WARNING - ConnectionBus: Database connections: 0 active, 0 idle. 2018-03-28 16:53:42.473 ERROR - ConnectionBus: Opening JDBC connection to db:5432 failed with SQLState: 08001 Error code: 0 Message: The connection attempt failed. Retrying...(2/4) 2018-03-28 16:53:42.674 WARNING - ConnectionBus: Database connections: 0 active, 0 idle. 2018-03-28 16:53:42.674 ERROR - ConnectionBus: Opening JDBC connection to db:5432 failed with SQLState: 08001 Error code: 0 Message: The connection attempt failed. Retrying...(3/4) 2018-03-28 16:53:43.075 WARNING - ConnectionBus: Database connections: 0 active, 0 idle. 2018-03-28 16:53:43.075 ERROR - ConnectionBus: Opening JDBC connection to db:5432 failed with SQLState: 08001 Error code: 0 Message: The connection attempt failed., giving up...(4/4) My yaml's and Dockerfile are based off of this project https://github.com/mendix/azure-docker-mendix/tree/master/Docker-Azure
asked
1 answers
1

5432 seems like a PostgreSQL default port. Make sure you use the right port settings and that your server is active/connected.

answered