Skip to content

Commit 784b675

Browse files
committed
Implement config for db8 to prevent it from running into the log_bin_trust_function_creators error
1 parent 0a57848 commit 784b675

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build/dist/docker-compose-db8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services:
55
db8:
66
image: percona:8
77
volumes:
8+
- ./conf.d/mysql8/my.cnf:/etc/my.cnf.d/development.cnf:ro
89
- dockerdev-mysql8-volume:/var/lib/mysql:rw
910
environment:
1011
- MYSQL_ROOT_PASSWORD

conf.d/mysql8/my.cnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[mysqld]
2+
log_bin_trust_function_creators = 1

0 commit comments

Comments
 (0)