Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL Server has gone away #2

Open
pawel-marciniak opened this issue Jun 19, 2020 · 1 comment
Open

MySQL Server has gone away #2

pawel-marciniak opened this issue Jun 19, 2020 · 1 comment

Comments

@pawel-marciniak
Copy link

Hello,

Once in a while I have this error ("MySQL Server has gone away") in my GitHub workflow (in step where I migrating database structure). Has anyone got aby idea why? My configuration regarding database looks like this:

      - name: Stop default MySQL
        run: sudo systemctl stop mysql
      - uses: getong/mariadb-action@v1.1
        with:
          mariadb version: '10.4.10'
          mysql database: 'database'
          mysql user: 'user'
          mysql password: 'password'
@grooverdan
Copy link

There's a wide range of causes that can cause this https://www.percona.com/blog/2020/09/25/diagnosing-and-fixing-mysql-server-has-gone-away-messages/

None of them relate to the way this github action does things. Some might be server bugs, memory exhaustion, or fetching large packets without configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants