Permalink
Browse files

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..
  • Loading branch information...
Mészáros Mihály
Mészáros Mihály committed Sep 11, 2018
1 parent 1b038a2 commit ffc661b66e175b14d44cc370315d6117500961fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 INSTALL
View
@@ -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

0 comments on commit ffc661b

Please sign in to comment.