Skip to content

NC 12: No FILE_FORMAT in mariaDB (MySQL 4-byte support) #513

@NicoPrediger

Description

@NicoPrediger

Hi. I'm trying to enable 4-byte support in mariaDB for NC12 as described here:
https://docs.nextcloud.com/server/12/admin_manual/configuration_database/mysql_4byte_support.html
I added the innodb-settings and issued this command

MariaDB> SELECT NAME, SPACE, FILE_FORMAT FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME like "nextcloud%";

and then I receive this error:

ERROR 1054 (42S22): Unknown column 'FILE_FORMAT' in 'field list'

When using SELECT * FROM.. I can see the following columns in the result: TABLE_ID, SCHEMA, NAME, FLAG, N_COLS and SPACE.

FILE_FORMAT being set to Barracuda seems essential in this guide, so I'm not sure how to carry on now. Did I miss anything? Are my settings not correct? Do I have to add FILE_FORMAT myself? If so, how?

For the sake of completeness, here's the settings I added to /etc/my.cnf:

innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=1
And of course, I restarted mariaDB after editing the config.

Any help is appreciated. :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions