mirror of
https://github.com/evennia/evennia.git
synced 2025-10-30 03:44:47 +00:00
Test of another way to set mysql encoding
This commit is contained in:
parent
a5fad7198b
commit
95d9d098e5
@ -20,7 +20,7 @@ before_install:
|
||||
- psql -U postgres -c "CREATE DATABASE evennia;"
|
||||
- psql -U postgres -c "CREATE USER evennia WITH PASSWORD 'password';"
|
||||
- psql -U postgres -c "ALTER USER evennia CREATEDB;"
|
||||
- mysql -u root -e "CREATE DATABASE evennia CHARACTER SET utf8 COLLATE utf8_general_ci;"
|
||||
- mysql -u root -e "CREATE DATABASE evennia CHARACTER SET utf8;"
|
||||
- mysql -u root -e "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password';"
|
||||
- mysql -u root -e "GRANT ALL ON *.* TO 'evennia'@'localhost' IDENTIFIED BY 'password';"
|
||||
|
||||
|
||||
@ -46,6 +46,9 @@ DATABASES = {
|
||||
'PASSWORD': 'password',
|
||||
'HOST': 'localhost', # or an IP Address that your DB is hosted on
|
||||
'PORT': '', # use default port
|
||||
'OPTIONS': {
|
||||
'default-character-set': 'utf8'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user