Skip to content

Commit

Permalink
Using custom configuration file for MySQL to set max_allowed_packet t…
Browse files Browse the repository at this point in the history
…o 1GB for large annotation result saving.

Signed-off-by: Jagger Wang <[email protected]>
  • Loading branch information
jaggerwang committed Jan 11, 2024
1 parent 2e3105d commit 9d5b8a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/mysql/custom.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mysqld]
max_allowed_packet=1073741824
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- 8191:3306
volumes:
- mysql-data:/var/lib/mysql
- ./deploy/mysql/custom.cnf:/etc/mysql/conf.d
- ./deploy/mysql/migration:/docker-entrypoint-initdb.d
healthcheck:
test: '/usr/bin/mysql --user=xtreme1 --password=Rc4K3L6f --execute "SHOW DATABASES;"'
Expand Down

0 comments on commit 9d5b8a1

Please sign in to comment.