MySQL error: The maximum column size is 767 bytes

前端 未结 10 1807
陌清茗
陌清茗 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:25

    Just add the following options to my.cnf

    [mysqld]
    innodb_file_format=Barracuda
    innodb_file_per_table=1
    innodb_large_prefix=1
    

    Then, restart mysql server the problem will be resolved.

提交回复
热议问题