Skip to content

Commit

Permalink
Minor improvements to mariadb binlog management (#1515)
Browse files Browse the repository at this point in the history
* Minor improvements to mariadb binlog management

* Bump db container tag
  • Loading branch information
rfay committed Apr 9, 2019
1 parent ce86166 commit 21dbe0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions containers/ddev-dbserver/10.1/files/etc/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ skip-name-resolve
datadir=/var/lib/mysql
secure-file-priv=/var/lib/mysql-files
# Windows 10 home fix: must not use native_aio, since there is none.
# log-bin=on fixes a bug with Virtualbox (used by docker toolbox)
# log-bin fixes a bug with Virtualbox (used by docker toolbox)
# see https://dba.stackexchange.com/a/185006/149238
innodb_use_native_aio=0
log-bin=on
log-bin
expire-logs-days = 1

# log_bin_trust_function_creators is required when log_bin is on for creating triggers
log_bin_trust_function_creators=on

Expand Down
4 changes: 3 additions & 1 deletion containers/ddev-dbserver/10.2/files/etc/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ secure-file-priv=/var/lib/mysql-files
# log-bin=on fixes a bug with Virtualbox (used by docker toolbox)
# see https://dba.stackexchange.com/a/185006/149238
innodb_use_native_aio=0
log-bin=on
log-bin
expire-logs-days = 1

# log_bin_trust_function_creators is required when log_bin is on for creating triggers
log_bin_trust_function_creators=on

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var WebTag = "feature-pgsql-support" // Note that this can be overridden by make
var DBImg = "drud/ddev-dbserver"

// BaseDBTag is the main tag, DBTag is constructed from it
var BaseDBTag = "v1.7.0"
var BaseDBTag = "20190329_maria_logs_config"

// DBAImg defines the default phpmyadmin image tag used for applications.
var DBAImg = "drud/phpmyadmin"
Expand Down

0 comments on commit 21dbe0e

Please sign in to comment.