-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from cron-eu/mysql-8.0
Add mysql-8.0
- Loading branch information
Showing
6 changed files
with
97 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# See https://hub.docker.com/_/mysql/ | ||
|
||
ARG MYSQL_VERSION=8.0 | ||
|
||
FROM mysql:${MYSQL_VERSION} | ||
|
||
ADD mysql.cnf /etc/mysql/conf.d/z99-docker.cnf | ||
RUN chown mysql:mysql /etc/mysql/conf.d/z99-docker.cnf \ | ||
&& chmod 0644 /etc/mysql/conf.d/z99-docker.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[mysqld] | ||
|
||
# Defaults noted here are from MySQL 8.0 (official docker image) | ||
|
||
################################################# | ||
## Buffers | ||
|
||
# default is 8M | ||
key_buffer_size = 128M | ||
|
||
# default is 128M | ||
innodb_buffer_pool_size = 512M | ||
|
||
# default is 100M | ||
innodb_redo_log_capacity = 512M | ||
|
||
# default is 16M | ||
innodb_log_buffer_size = 128M | ||
|
||
# default is 16M | ||
tmp_table_size = 128M | ||
|
||
# default is 16M | ||
max_heap_table_size = 128M | ||
|
||
# default is 256k | ||
join_buffer_size = 4M | ||
|
||
# default is 256k | ||
sort_buffer_size = 4M | ||
|
||
# default is 128k | ||
read_buffer_size = 1M | ||
|
||
# default is 256k | ||
read_rnd_buffer_size = 1M | ||
|
||
################################################# | ||
## Misc | ||
|
||
# default is 1 | ||
innodb_flush_log_at_trx_commit = 0 | ||
|
||
# default is fsync | ||
innodb_flush_method = O_DSYNC | ||
|
||
################################################# | ||
## Connections | ||
|
||
# default is 151 | ||
max_connections = 20 | ||
|
||
################################################# | ||
## TYPO3 compatibility | ||
|
||
# default is ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | ||
sql_mode = "" |