MySQL error: The maximum column size is 767 bytes

前端 未结 10 1793
陌清茗
陌清茗 2020-12-24 15:41

When I run a program which does something with MySQL, I got this error message:

2015-06-10 15:41:12,250 ERROR app.wsutils 419 INCRON: Error: (\'HY000\

10条回答
  •  滥情空心
    2020-12-24 16:33

    Set the below system variables:

    innodb_buffer_pool_size.................................... 702545920
    innodb_file_format......................................... Barracuda
    innodb_file_format_check................................... ON
    innodb_file_format_max..................................... Barracuda
    innodb_file_per_table...................................... ON
    innodb_large_prefix........................................ ON
    innodb_log_file_size....................................... 50331648
    

    Also, make sure when you create your schema you create it as Latin1. That is what finally fixed me.

提交回复
热议问题