- Edited
MySQL failed to initialise due to this error:
mysql-mailcow_1 | 2021-10-18 18:47:18+01:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql-mailcow_1 | 2021-10-18 18:47:19+01:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
mysql-mailcow_1 | 2021-10-18 18:47:19+01:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
mysql-mailcow_1 | command was: mysqld --verbose --help --log-bin-index=/tmp/tmp.AYBF1FXPij
mysql-mailcow_1 | mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 "Permission denied")
mysql-mailcow_1 | Fatal error in defaults handling. Program aborted
mysql-mailcow_1 | 2021-10-18 18:47:22+01:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
mysql-mailcow_1 | 2021-10-18 18:47:22+01:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql-mailcow_1 | 2021-10-18 18:47:22+01:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
mysql-mailcow_1 | 2021-10-18 18:47:22+01:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
mysql-mailcow_1 | command was: mysqld --verbose --help --log-bin-index=/tmp/tmp.BYksFVGxkB
mysql-mailcow_1 | mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 "Permission denied")
mysql-mailcow_1 | Fatal error in defaults handling. Program aborted```
This is a fresh installation, no configuration changes apart from changes documented to run mailcow behind a reverse proxy.