mysql [Err] 1071 - Specified key was too long; max key length is 767 bytes
2013-07-08 08:57
441 查看
绿色版mysql
CMD命令窗口执行
1.输入
set global innodb_file_per_table=on;
set global innodb_large_prefix=on;
set global innodb_file_format_max='Barracuda';
set global innodb_file_format='Barracuda';
安装版mysql
在my.ini文件里添加
innodb_file_per_table=1
innodb_large_prefix
innodb_file_format=barracuda
重启服务
CMD命令窗口执行
1.输入
mysql -u root -p
set global innodb_file_per_table=on;set global innodb_large_prefix=on;
set global innodb_file_format_max='Barracuda';
set global innodb_file_format='Barracuda';
安装版mysql
在my.ini文件里添加
innodb_file_per_table=1
innodb_large_prefix
innodb_file_format=barracuda
重启服务
相关文章推荐
- MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL----ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL中ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes错误的处理
- MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- mysql [42000][1071] Specified key was too long; max key length is 767 bytes
- MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
- Hive集成Mysql作为元数据时,提示错误:Specified key was too long; max key length is 767 bytes
- ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- mysql:Specified key was too long; max key length is 767 bytes
- ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- mysql Specified key was too long; max key length is 767 bytes
- ERROR 1071 Mysql::Error: Specified key was too long; max key length is 1000 bytes
- mysql Specified key was too long; max key length is 767 bytes
- ERROR 1071 (42000) at line 142: Specifiedkey was too long; max key length is 767 bytes
- 索引长度过长 ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- MySQL ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
- Specified key was too long; max key length is 767 bytes mysql