[HELP] Connect mysql running on host machine

I have an EC2 instance and I’m trying to deploy a Laravel application using GitLab CI.
I want to connect MySQL running on the host machine with the deployment but not able to connect. Used docker default value to connect host “host.docker.internal”, did not work.

Any help to resolve the issue will be appropriated.
Thanks

Hi,

please share the CI configuration and used scripts in case. The logs from the CI runs will also help understanding the problem better.

Cheers,
Michael