Hi !
i am preparing a CI Pipeline for Laravel with SonarCloud.
But the migration always fails with "connection refused"
PDOException::("SQLSTATE[HY000] [2002] Connection refused")
Here is my bitbucket-pipelines.yml
And this is the env.pipelines
Perhaps anyone sees the mistake. I tried to solve it for hours.
But i have no idea anymore.
Thanks in advance
Adrian
The solution was to move the
- services
section in front of
- script
so that the server is reachable in the script block
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.