-
Notifications
You must be signed in to change notification settings - Fork 184
[1.x] Add mariadb
driver support plus Laravel 11 CI tests
#330
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
Conversation
586c8cc
to
be21f9a
Compare
be21f9a
to
a641624
Compare
mariadb
driver support plus Laravel 11 CI tests
DB_DATABASE: pulse | ||
DB_USERNAME: pulse | ||
DB_PASSWORD: password | ||
DB_COLLATION: utf8mb4_unicode_ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting the credentials explicitly instead of relying on the defaults which recently changed.
The collation needs to be explicitly included here because the default collation is not supported on MySQL 5.7 where these tests are running.
image: mariadb:10.5 | ||
image: mariadb:10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems MariaDB 10.5 doesn't support the new default collation. Rather than customize the collation here, I've opted to match the framework's CI tests and specify 10
, which would give us MariaDB 10.6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
Is this still the case after this PR? |
@francoism90 no MariaDB was added in here. I'll PR that to the docs. |
GitHub actions had started failing, which appears to be because we were relying on default
DB_
env vars and/or default config file vars which have changed.This PR:
mariadb
database driver, which, in addition to being nice to have, also solved an issue with different default collations.