Quellcode durchsuchen

Uses UTF8 as MySQL character set (#492)

algooapy vor 7 Jahren
Ursprung
Commit
4af923e3e5
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      doc/database.md

+ 3 - 3
doc/database.md Datei anzeigen

@@ -57,8 +57,8 @@ Failure output:
57 57
 In this case, delete the user and database and start over:
58 58
 
59 59
     sudo --user=postgres psql \
60
-         --command="DROP USER tracimuser;" \
61
-         --command="DROP DATABASE tracimdb;"
60
+         --command="DROP DATABASE tracimdb;" \
61
+         --command="DROP USER tracimuser;"
62 62
 
63 63
 [//]: # (The following lines are only necessary to fix permissions on an existing database:)
64 64
 [//]: # (    sudo --user=postgres psql \)
@@ -88,7 +88,7 @@ Connect to `MySQL` with root user (password has been set at "Installation" -> "D
88 88
 
89 89
 Create a database with following command:
90 90
 
91
-    CREATE DATABASE tracimdb;
91
+    CREATE DATABASE tracimdb CHARACTER SET = utf8;
92 92
 
93 93
 Create a user with following command:
94 94