Use "log-bin-trust-function-creators" option for mysql in recommended docker-compose file

This avoids errors, while creating the MySQL functions for the natural sort: "1419 You do not have the SUPER privilege an
  d binary logging is enabled"
This commit is contained in:
Jan Böhmer 2024-09-08 19:46:55 +02:00
parent 8c8b44baef
commit abb5395cae

View file

@ -158,7 +158,7 @@ services:
container_name: partdb_database
image: mysql:8.0
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
command: --default-authentication-plugin=mysql_native_password --log-bin-trust-function-creators=1
environment:
# Change this Password
MYSQL_ROOT_PASSWORD: SECRET_ROOT_PASSWORD