Github Actions - Can't connect to mysql #25200
-
Hi All, I am trying to connect to the mysql database from ly pipeline, but its giving error. Although it used to work. Part of my pipeline.yml
Error message:
I have tried with
Error message:
Can anyone help. Has anything changed? Am I doing anything wrong? Thanks, Sid |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I’m having this issue too. I think the ubuntu-latest image might have changed? |
Beta Was this translation helpful? Give feedback.
-
The issue is caused by this change: https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/ You could start mysql before creating database:
|
Beta Was this translation helpful? Give feedback.
The issue is caused by this change: https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/
You could start mysql before creating database: