Closed ihola777 closed 8 months ago
your configuration is right, its most likely that /var/log/mysql isn't owned by the mysql
user within the container, so execute the following and try again:
docker run -v /var/log/mysql:/var/log/mysql --rm mariadb:latest chown mysql: /var/log/mysql
working as expected?
working as expected?
thanks for your kindly help. i found it's acutally a typo issue.
seems like mariadb doesn't create error log file in container and nothing in /var/log/mysql. how can i change the configuration to make this happen ? thx
my.cnf
docker-compose.yml
os: Linux tuna 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux