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

fix(ci): Use mysql_native_password on MySQL CI tests #48727

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

solracsf
Copy link
Member

Summary

Tests print errors like:

"reqId":"Y3lZYyDY66erWDDo1YF5","level":3,"time":"2024-10-16T09:18:07+00:00","remoteAddr":"","user":"--","app":"mysql.setup","method":"","url":"--","message":"Database user creation failed.","userAgent":"--","version":"31.0.0.3","exception":{"Exception":"OC\\DB\\Exceptions\\DbalException","Message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1524 Plugin 'mysql_native_password' is not loaded","Code":1524,"Trace":[{"file":"/home/runner/actions-runner/_work/server/server/lib/private/DB/ConnectionAdapter.php","line":61,"function":"wrap","class":"OC\\DB\\Exceptions\\DbalException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Exception\\DriverException"}]},{"file":"/home/runner/actions-runner/_work/server/server/lib/private/Setup/MySQL.php","line":103,"function":"executeUpdate","class":"OC\\DB\\ConnectionAdapter","type":"->","args":["CREATE USER 'oc_admin'@'localhost' IDENTIFIED WITH mysql_native_password BY 'qn&?HhkmBYt3M&3h*76gL5GzaP?Cc4'"]},

Checklist

@solracsf solracsf marked this pull request as ready for review October 16, 2024 10:39
Signed-off-by: Git'Fellow <[email protected]>

fix(ci): Add mysql_native_password as command

fix: sharding

Signed-off-by: Git'Fellow <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant