mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Use utf8mb3 for MySQL (same as existing release) to fix CI
This commit is contained in:
parent
7480772404
commit
abcb3d1cc3
3 changed files with 7 additions and 7 deletions
2
.github/actions/setup-database/action.yml
vendored
2
.github/actions/setup-database/action.yml
vendored
|
|
@ -51,7 +51,7 @@ runs:
|
|||
# The user 'evennia' is already created by the action for hosts: localhost, 127.0.0.1, and ::1
|
||||
# We just need to create the database and grant additional privileges.
|
||||
mysql -u root -proot_password mysql <<EOF
|
||||
CREATE DATABASE IF NOT EXISTS evennia CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
CREATE DATABASE IF NOT EXISTS evennia CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci;
|
||||
-- Grant privileges to existing user hosts (action creates: localhost, 127.0.0.1, ::1)
|
||||
GRANT ALL PRIVILEGES ON \`evennia%\`.* TO 'evennia'@'localhost';
|
||||
GRANT ALL PRIVILEGES ON \`evennia%\`.* TO 'evennia'@'127.0.0.1';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue