Skip to content

Commit

Permalink
Added max_allowed_packet=1024M to db containers for M1 and M2 to avoi…
Browse files Browse the repository at this point in the history
…d imports or upgrade routines from failing on large packets
  • Loading branch information
davidalger committed Jul 3, 2019
1 parent 646c10b commit 550e620
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions environments/magento1.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ services:
- MYSQL_DATABASE=${MYSQL_DATABASE:-magento}
- MYSQL_USER=${MYSQL_USER:-magento}
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-magento}
command:
- mysqld
- --max_allowed_packet=1024M
volumes:
- dbdata:/var/lib/mysql
networks:
Expand Down
3 changes: 3 additions & 0 deletions environments/magento2.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ services:
- MYSQL_DATABASE=${MYSQL_DATABASE:-magento}
- MYSQL_USER=${MYSQL_USER:-magento}
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-magento}
command:
- mysqld
- --max_allowed_packet=1024M
volumes:
- dbdata:/var/lib/mysql
networks:
Expand Down

0 comments on commit 550e620

Please sign in to comment.