Hey,
- Are you really running MariaDB and not MySQL?
- Is this an installation migrated from MySQL at an earlier date?
- Is the database server using the correct
my.cnf
file?
- Does that
my.cnf
file actually include the mariadb.conf.d
sub-directory?
In order to answer those questions, please post the output of the following commands:
dpkg -l |grep -E 'mysql|maria'
ls -l /etc/mysql/my.cnf /etc/alternatives/my.cnf
grep -r includedir /etc/mysql
Background: if you had MySQL installed earlier, the package management scripts will move your old MySQL-specific configuration file to my.cnf.migrated
. The my.cnf
should then be converted into a symbolic link using the alternatives system; and after such a migration the alternative chosen by default will be the my.cnf.migrated
file. That one in turn is MySQL-specific and does not include the mariadb.conf.d
directory by default.
You can reconfigure the link to point to the default mariadb.cnf
instead which does include the mariadb.conf.d
sub-directory by running update-alternatives --config my.cnf
— but make sure to manually migrate any setting you might need from the old my.cnf.migrated
to a file in mariadb.conf.d
m.