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

ci: Use 'setup-mariadb' action instead of docker container #176

Merged
merged 3 commits into from
Oct 19, 2024
Merged

Conversation

MrDave1999
Copy link
Owner

@MrDave1999 MrDave1999 commented Oct 18, 2024

I was using the MariaDb service with docker but I get this error:

Run docker exec -i mariadb mariadb -uroot -p123456789 -h127.0.0.1 gamemode < ./scripts/mariadb/gamemode.sql
ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)

I have decided to use this action: https://github.com/ankane/setup-mariadb.
This way I can directly use the mariadb client instead of using docker exec.

@MrDave1999 MrDave1999 closed this Oct 18, 2024
@MrDave1999 MrDave1999 deleted the ci branch October 18, 2024 20:15
@MrDave1999 MrDave1999 restored the ci branch October 18, 2024 21:53
@MrDave1999 MrDave1999 reopened this Oct 18, 2024
@MrDave1999 MrDave1999 changed the title ci: update workflow ci: Use 'setup-mariadb' action instead of docker container Oct 18, 2024
@MrDave1999 MrDave1999 marked this pull request as ready for review October 19, 2024 00:21
@MrDave1999 MrDave1999 merged commit 9dee8a4 into dev Oct 19, 2024
2 checks passed
@MrDave1999 MrDave1999 deleted the ci branch October 19, 2024 00:22
@MrDave1999
Copy link
Owner Author

PR #178 fixes this error:

ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)

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

Successfully merging this pull request may close these issues.

1 participant