浏览代码

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 年之前
父节点
当前提交
ffc661b66e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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