【问题标题】:How can we solve this type of database error with xammp server 3.3.2 version使用xampp server 3.3.2版本如何解决这种类型的数据库错误
【发布时间】:2018-03-19 06:38:58
【问题描述】:

我的数据库有问题:更新表单时出现此错误:

Error Number: 1118
Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.

codeignator2 中,我认为数据量很大,但我不断更改my.ini 中的一些设置,但我遇到了同样的错误。

【问题讨论】:

  • 这可能会有所帮助:stackoverflow.com/questions/22637733/…
  • 哥们,我改变了,但它没有改变,因为我在发布问题之前更改了设置,但没有任何改变,我得到了这种类型的错误。 innodb_buffer_pool_size = 32M @Cyclonecode innodb_additional_mem_pool_size = 2M ## Set .._log_file_size to 25 % of buffer pool size innodb_log_file_size = 512M innodb_log_buffer_size = 800M innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 50 innodb_file_per_table = ON innodb_file_format = Barracuda
  • 你更新设置后重启了mysql服务器?
  • 是的,伙计,但我仍然收到这种类型的错误@Cyclonecode

标签: mysql database codeigniter-2


【解决方案1】:

我通过将列的数据类型更改为 TEXTLONGTEXT 解决了错误。

【讨论】:

    猜你喜欢
    • 2021-11-17
    • 1970-01-01
    • 2022-01-21
    • 2021-03-15
    • 2022-08-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多