mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
CI: Working to get MySQL server collaborate with CI env
This commit is contained in:
parent
0f0088cd9b
commit
bf138d8a6f
4 changed files with 40 additions and 6 deletions
6
.github/actions/setup-database/action.yml
vendored
6
.github/actions/setup-database/action.yml
vendored
|
|
@ -64,13 +64,13 @@ runs:
|
|||
GRANT PROCESS ON *.* TO 'evennia'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
EOF
|
||||
# Set database character set and default row format
|
||||
# Set database character set
|
||||
mysql -u root -proot_password -h 127.0.0.1 evennia <<EOF
|
||||
ALTER DATABASE evennia CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
EOF
|
||||
# Set default row format for new tables (needed for long keys with utf8mb4)
|
||||
# Verify settings are correct
|
||||
mysql -u root -proot_password -h 127.0.0.1 evennia <<EOF
|
||||
SET GLOBAL default_storage_engine = 'InnoDB';
|
||||
SELECT @@innodb_default_row_format, @@character_set_server, @@collation_server;
|
||||
EOF
|
||||
shell: bash
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue