Test of another way to set mysql encoding
This commit is contained in:
parent
a5fad7198b
commit
95d9d098e5
2 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ before_install:
|
||||||
- psql -U postgres -c "CREATE DATABASE evennia;"
|
- psql -U postgres -c "CREATE DATABASE evennia;"
|
||||||
- psql -U postgres -c "CREATE USER evennia WITH PASSWORD 'password';"
|
- psql -U postgres -c "CREATE USER evennia WITH PASSWORD 'password';"
|
||||||
- psql -U postgres -c "ALTER USER evennia CREATEDB;"
|
- 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 "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password';"
|
||||||
- mysql -u root -e "GRANT ALL ON *.* TO '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',
|
'PASSWORD': 'password',
|
||||||
'HOST': 'localhost', # or an IP Address that your DB is hosted on
|
'HOST': 'localhost', # or an IP Address that your DB is hosted on
|
||||||
'PORT': '', # use default port
|
'PORT': '', # use default port
|
||||||
|
'OPTIONS': {
|
||||||
|
'default-character-set': 'utf8'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue