Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e3761bc11 | ||
|
|
834345bfef | ||
|
|
3a076b7142 | ||
|
|
52773ace68 | ||
|
|
8a08396a71 | ||
|
|
9354d90156 | ||
|
|
fce19e6116 | ||
|
|
56bd3fa123 |
@@ -1 +1 @@
|
||||
FROM mysql:8.0.31
|
||||
FROM mysql:8.0.33
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# dokku mysql [](https://github.com/dokku/dokku-mysql/actions/workflows/ci.yml?query=branch%3Amaster) [](https://webchat.libera.chat/?channels=dokku)
|
||||
|
||||
Official mysql plugin for dokku. Currently defaults to installing [mysql 8.0.31](https://hub.docker.com/_/mysql/).
|
||||
Official mysql plugin for dokku. Currently defaults to installing [mysql 8.0.33](https://hub.docker.com/_/mysql/).
|
||||
|
||||
## Requirements
|
||||
|
||||
|
||||
@@ -168,12 +168,10 @@ service_export() {
|
||||
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
|
||||
local SERVICE_NAME="$(get_service_name "$SERVICE")"
|
||||
local DATABASE_NAME="$(get_database_name "$SERVICE")"
|
||||
local PASSWORD="$(service_password "$SERVICE")"
|
||||
local ROOTPASSWORD="$(service_root_password "$SERVICE")"
|
||||
|
||||
[[ -n $SSH_TTY ]] && stty -opost
|
||||
"$DOCKER_BIN" container exec "$SERVICE_NAME" bash -c "printf '[client]\ndefault-character-set=utf8mb4\npassword=$PASSWORD\n' > /root/credentials.cnf"
|
||||
"$DOCKER_BIN" container exec "$SERVICE_NAME" mysqldump --defaults-extra-file=/root/credentials.cnf --user=mysql --single-transaction --no-tablespaces --quick "$DATABASE_NAME"
|
||||
"$DOCKER_BIN" container exec "$SERVICE_NAME" rm /root/credentials.cnf
|
||||
"$DOCKER_BIN" container exec "$SERVICE_NAME" mysqldump --default-character-set=utf8mb4 --user=root --password="$ROOTPASSWORD" --single-transaction --no-tablespaces --quick "$DATABASE_NAME"
|
||||
status=$?
|
||||
[[ -n $SSH_TTY ]] && stty opost
|
||||
exit $status
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[plugin]
|
||||
description = "dokku mysql service plugin"
|
||||
version = "1.32.0"
|
||||
version = "1.32.2"
|
||||
[plugin.config]
|
||||
|
||||
Reference in New Issue
Block a user