MySQL & MariaDB error 4097 ER_CANNOT_PERSIST_SENSITIVE_VARIABLES
Same number, two different errors. 4097 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLCannot persist SENSITIVE system variable '…' because keyring component support is unavailable.
MariaDBCompressed column '…' can't be used in key specification