Jelajahi Sumber

Set mysql charset to fix key was too long error

"Specified key was too long; max key length is 767 bytes"
Innodb utf8 sotres 4byte a char. In the turndb/schema.sql the name[512] is too long..
Mészáros Mihály 7 tahun lalu
induk
melakukan
ffc661b66e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      INSTALL

+ 1 - 1
INSTALL

@@ -965,7 +965,7 @@ the root account.
   
 4) Create database 'coturn' (for example) and grant privileges to user 'turn':
 
-  > create database coturn;
+  > create database coturn character set latin1;
   > grant all on coturn.* to 'turn'@'localhost';
   > flush privileges;
   Ctrl-D