PDOException: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.

PrestaSHOP安装到最后一步出现错误:

PDOException: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.

解决方法

打开MYSQL的配置文件my.ini并找到参数

innodb-default-row-format=compact

修改为

innodb-default-row-format=dynamic

最后重启MYSQL服务即可。

Post Comment