Skip to content

Commit

Permalink
doc: set character set and collation explicitly during database creat…
Browse files Browse the repository at this point in the history
…ion to avoid using bad defaults
  • Loading branch information
mgeerdsen committed Oct 25, 2024
1 parent 53a5585 commit 8e70711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/de/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ sudo systemctl daemon-reload
sudo systemctl enable vocabulary.service

# create and configure the database
sudo mysql -e "CREATE DATABASE ${VOC_SQL_DB};
sudo mysql -e "CREATE DATABASE ${VOC_SQL_DB} CHARACTER SET = 'utf8mb4' COLLATE = 'utf8mb4_unicode_ci';
CREATE USER '${VOC_SQL_USER}'@'localhost' IDENTIFIED BY '${PW_SQL_VOC}';
GRANT ALL PRIVILEGES ON ${VOC_SQL_DB}.* TO '${VOC_SQL_USER}'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;"
Expand Down

0 comments on commit 8e70711

Please sign in to comment.