Skip to content

Commit

Permalink
Merge pull request #90 from farchord/main
Browse files Browse the repository at this point in the history
Make sure the db is on the right charset
  • Loading branch information
WinterSolstice8 authored Dec 24, 2023
2 parents 74f6b68 + a1d2827 commit 2d29086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quick-Start-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ sudo mysql_secure_installation
* Type the following to create a database user with the login <ins>_**xi**_</ins> and password <ins>_**password**_</ins>, and an empty database called <ins>_**xidb**_</ins>. NOTE: You _SHOULD_ change **ALL THREE OF THESE** to improve security:

```sh
sudo mysql -u root -p -e "CREATE USER 'xi'@'localhost' IDENTIFIED BY 'password';CREATE DATABASE xidb;USE xidb;GRANT ALL PRIVILEGES ON xidb.* TO 'xi'@'localhost';"
sudo mysql -u root -p -e "CREATE USER 'xi'@'localhost' IDENTIFIED BY 'password';CREATE DATABASE xidb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;USE xidb;GRANT ALL PRIVILEGES ON xidb.* TO 'xi'@'localhost';"
```

* Edit the file `network.lua` inside `server/settings/` and change the `SQL_LOGIN`, `SQL_PASSWORD`, and `SQL_DATABASE` to the login, password, and database you used in the above command (default xi, password, xidb).
Expand Down

0 comments on commit 2d29086

Please sign in to comment.