Troubleshooting deployment failure of DataHub in Azure AKS with Azure MySQL flexible server

Original Slack Thread

Hi all, we are trying to deploy DataHub in Azure AKS, and using the Azure MySQL flexible server for DB. We can confirm access the database server from the AKS cluster, so there isn’t network connectivity issue. However, we are seeing failure in the datahub-system-update-job with the below error. I have also attached the log.

2023-09-04 16:29:19,468 [main] INFO  i.e.d.pool.PooledConnectionQueue:411 - Busy Connections:

2023-09-04 16:29:19,470 [main] ERROR c.l.g.f.entity.EbeanServerFactory:38 - Failed to connect to the server. Is it up?
ERROR SpringApplication Application run failed
 org.springframework.beans.fa```
This is the jdbc connection url : "jdbc:<mysql://mysqlsrv05092023.mysql.database.azure.com:3306/datahub?verifyServerCertificate=false&amp;useSSL=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;enabledTLSProtocols=TLSv1.2>"

Has anyone come across similar error and resolved this?![attachment](https://files.slack.com/files-pri/TUMKD5EGJ-F05QMF43S6T/current_error.txt?t=xoxe-973659184562-6705490291811-6708051934148-dd1595bd5f63266bc09e6166373c7a3c)

is the mysqlSetupJob enabled ?

thanks for pointing this. It was not enabled. We managed to deploy after enabling this.