Specify character set in database to avoid key length errors.

Default database setting uncommented.

Addresses #985
This commit is contained in:
Adarnof
2018-02-27 19:53:54 -05:00
parent cc8a7a18d2
commit 9d9cfebd9e
2 changed files with 2 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ CentOS:
Alliance Auth needs a MySQL user account and database. Open an SQL shell with `mysql -u root -p` and create them as follows, replacing `PASSWORD` with an actual secure password:
CREATE USER 'allianceserver'@'localhost' IDENTIFIED BY 'PASSWORD';
CREATE DATABASE alliance_auth;
CREATE DATABASE alliance_auth CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON alliance_auth . * TO 'allianceserver'@'localhost';
Close the SQL shell and secure your database server with the `mysql_secure_installation` command.