Hi all i am experiencing this error i have went through this link
https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-use-MySQL-in-Bitbucket-Pipelines/qaq-p/461906
in this link @Alfred_Bez was also experiencing the same error but for him he didn't have mentioned the service tag in his file for me i have mentioned everything that yml file is working but sometimes it throws me this error and then if i re run pipeline for the same it builds successfully my concern is in a production environment i can not neglect this i want to resolve it
Below is the issue and my pipeline configuration
it always breaks at third step of the file and when you re run the same it builds successfully. if there is anything i am doing wrong or any solution to this will be highly appreciated
Thanks
Hello,
My initial suspicion is that the database is still starting up in the builds that fail. You can look at the logs in mysql tab of the build logs to see if it finished starting up.
The quickest way to work around this issue is to add a sleep to the build. However, there may be more effective ways to work around this once you know if the issue is startup time.
Thanks,
Phil
Thanks Philip! This fixed my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.