Add README file for handling database error 'InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE'.
This commit is contained in:
parent
b35cd9e1f5
commit
bdfc9206d3
@ -0,0 +1,32 @@
|
|||||||
|
# Error:
|
||||||
|
# InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE
|
||||||
|
|
||||||
|
# ---
|
||||||
|
# see: https://dba.stackexchange.com/questions/256427/unable-to-create-tables-with-row-format-compressed
|
||||||
|
# ---
|
||||||
|
|
||||||
|
# If someone else stumbles across this thread (like me) looking for a solution to a
|
||||||
|
#
|
||||||
|
# 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE
|
||||||
|
#
|
||||||
|
# or similar error from the mariadb for nextcloud, occurring whenever nextcloud tries to write to
|
||||||
|
# the DB: the important clue for me was, that this error might be related to an utf8 encoding issue.
|
||||||
|
#
|
||||||
|
# See here for the nextcloud documentation:
|
||||||
|
# https://docs.nextcloud.com/server/21/admin_manual/configuration_database/mysql_4byte_support.html
|
||||||
|
#
|
||||||
|
#TL;DR:
|
||||||
|
#
|
||||||
|
# The solution from
|
||||||
|
# https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/7
|
||||||
|
# for me was :
|
||||||
|
#
|
||||||
|
# php occ config:system:set mysql.utf8mb4 --type boolean --value="false"
|
||||||
|
#
|
||||||
|
# followed by
|
||||||
|
#
|
||||||
|
# php occ maintenance:repair --include-expensive
|
||||||
|
#
|
||||||
|
# which may take a long time.
|
||||||
|
#
|
||||||
|
# this will fix all tables so that writing to them becomes possible again.
|
Loading…
Reference in New Issue
Block a user