diff --git a/README.InnoDB_refuses_to_write_tables_with_ROW_FORMAT=COMPRESSED_or_KEY_BLOCK_SIZE b/README.InnoDB_refuses_to_write_tables_with_ROW_FORMAT=COMPRESSED_or_KEY_BLOCK_SIZE new file mode 100644 index 0000000..135a0a4 --- /dev/null +++ b/README.InnoDB_refuses_to_write_tables_with_ROW_FORMAT=COMPRESSED_or_KEY_BLOCK_SIZE @@ -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.