From b6793271067a5a7ca2287482b128ed07c5d9405a Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Fri, 22 Dec 2023 00:39:47 -0300 Subject: [PATCH 01/14] add dump to mysql 8 Signed-off-by: Michel Silva --- .../rootfs/opt/bitnami/scripts/libmysql.sh | 63 +++++++++++++++++++ .../rootfs/opt/bitnami/scripts/mysql-env.sh | 2 + 2 files changed, 65 insertions(+) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 192984bec0a0c..fc5b06e2040e1 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -178,6 +178,64 @@ pid_file=${DB_PID_FILE} EOF } +######################## +# Make a dump on master database and update slave database +# Globals: +# DB_* +# Arguments: +# None +# Returns: +# None +######################### +mysql_exec_initial_dump() { + DATA_DIR="/bitnami/mysql/data" + info "MySQL dump master data start..." + + mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' + + databases=("mysql" "$DB_DATABASE") + + for DB in "${databases[@]}"; do + info "Start dump process database $DB" + + if [[ $DB = "information_schema" ]] || [[ $DB = "performance_schema" ]] || [[ $DB = "sys" ]]; then + info "The table $DB not be imported, skiping" + continue + fi + + FILE_LOCATION="$DATA_DIR/dump_$DB.sql" + + mysqldump --verbose -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" $DB > $FILE_LOCATION + + info "Finish dump database $DB" + + if [ $? -eq 0 ]; then + head -n 15 $FILE_LOCATION + + info "Ensure database exists $DB" + + mysql -u "$DB_MASTER_ROOT_USER" < Date: Fri, 22 Dec 2023 00:39:57 -0300 Subject: [PATCH 02/14] add dump to mysql 8.2 Signed-off-by: Michel Silva --- .../rootfs/opt/bitnami/scripts/libmysql.sh | 63 +++++++++++++++++++ .../rootfs/opt/bitnami/scripts/mysql-env.sh | 2 + 2 files changed, 65 insertions(+) diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 192984bec0a0c..9e7a97afc2494 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -178,6 +178,64 @@ pid_file=${DB_PID_FILE} EOF } +######################## +# Make a dump on master database and update slave database +# Globals: +# DB_* +# Arguments: +# None +# Returns: +# None +######################### +mysql_exec_initial_dump() { + DATA_DIR="/bitnami/mysql/data" + info "MySQL dump master data start..." + + mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' + + databases=("mysql" "$DB_DATABASE") + + for DB in "${databases[@]}"; do + info "Start dump process database $DB" + + if [[ $DB = "information_schema" ]] || [[ $DB = "performance_schema" ]] || [[ $DB = "sys" ]]; then + info "The table $DB not be imported, skiping" + continue + fi + + FILE_LOCATION="$DATA_DIR/dump_$DB.sql" + + mysqldump --verbose -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" $DB > $FILE_LOCATION + + info "Finish dump database $DB" + + if [ $? -eq 0 ]; then + head -n 15 $FILE_LOCATION + + info "Ensure database exists $DB" + + mysql -u "$DB_MASTER_ROOT_USER" < Date: Fri, 22 Dec 2023 00:40:43 -0300 Subject: [PATCH 03/14] add exemplo on docker compose Signed-off-by: Michel Silva --- bitnami/mysql/docker-compose-replication.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitnami/mysql/docker-compose-replication.yml b/bitnami/mysql/docker-compose-replication.yml index 8bf07b34e965b..f1597d0708cf3 100644 --- a/bitnami/mysql/docker-compose-replication.yml +++ b/bitnami/mysql/docker-compose-replication.yml @@ -40,6 +40,8 @@ services: - MYSQL_MASTER_ROOT_PASSWORD=my_root_password # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes + # Only use true if master node missing binary files (The binary files will be reset, recomendate backup files) + - MYSQL_REPLICATION_SLAVE_DUMP=false healthcheck: test: ['CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh'] interval: 15s From 6fd722ad4241718a30a596a441b56a8f47d9ca3d Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Fri, 22 Dec 2023 00:40:56 -0300 Subject: [PATCH 04/14] add doc Signed-off-by: Michel Silva --- bitnami/mysql/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index f02a89a5c8cc4..ea8f11d037a78 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -389,6 +389,12 @@ The above command scales up the number of slaves to `3`. You can scale down in t > **Note**: You should not scale up/down the number of master nodes. Always have only one master node running. +If your master database missing some binary files, the replication will broken. It's possible add `MYSQL_REPLICATION_SLAVE_DUMP=true` toe make a dump on master and import it on slave. + +> **Note**: It's most important that master database is only used by this process until the end to avoid missing data. + +> **Note**: This process will use "RESET MASTER;" on master database, for security make a backup of binary files. + ### Configuration file The image looks for user-defined configurations in `/opt/bitnami/mysql/conf/my_custom.cnf`. Create a file named `my_custom.cnf` and mount it at `/opt/bitnami/mysql/conf/my_custom.cnf`. From 12bef92b4b98633bdeca6f259b9ea1251d762f96 Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Fri, 22 Dec 2023 09:23:07 -0300 Subject: [PATCH 05/14] Remove blank spaces Signed-off-by: Michel Silva --- bitnami/mysql/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index ea8f11d037a78..eac944b3da707 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -392,7 +392,6 @@ The above command scales up the number of slaves to `3`. You can scale down in t If your master database missing some binary files, the replication will broken. It's possible add `MYSQL_REPLICATION_SLAVE_DUMP=true` toe make a dump on master and import it on slave. > **Note**: It's most important that master database is only used by this process until the end to avoid missing data. - > **Note**: This process will use "RESET MASTER;" on master database, for security make a backup of binary files. ### Configuration file From 55dd33c6f1d5f37dd0e5778bc6f2ed9c80d4233c Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Fri, 22 Dec 2023 10:16:28 -0300 Subject: [PATCH 06/14] check database is set Signed-off-by: Michel Silva --- .../8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 6 +++++- .../8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index fc5b06e2040e1..23b0b4ae07e7d 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -193,7 +193,11 @@ mysql_exec_initial_dump() { mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' - databases=("mysql" "$DB_DATABASE") + databases=("mysql") + + if [ -n "$DB_DATABASE" ]; then + databases+=("$DB_DATABASE") + fi for DB in "${databases[@]}"; do info "Start dump process database $DB" diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 9e7a97afc2494..60a3668df20d2 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -193,7 +193,11 @@ mysql_exec_initial_dump() { mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' - databases=("mysql" "$DB_DATABASE") + databases=("mysql") + + if [ -n "$DB_DATABASE" ]; then + databases+=("$DB_DATABASE") + fi for DB in "${databases[@]}"; do info "Start dump process database $DB" From db3c0699e712ef00455d25776e704d491eed8add Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Tue, 26 Dec 2023 15:33:30 -0300 Subject: [PATCH 07/14] Use DB_DATA_DIR Signed-off-by: Michel Silva --- .../mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 3 +-- .../mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 23b0b4ae07e7d..56ab37dc7c7f4 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -188,7 +188,6 @@ EOF # None ######################### mysql_exec_initial_dump() { - DATA_DIR="/bitnami/mysql/data" info "MySQL dump master data start..." mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' @@ -207,7 +206,7 @@ mysql_exec_initial_dump() { continue fi - FILE_LOCATION="$DATA_DIR/dump_$DB.sql" + FILE_LOCATION="$DB_DATA_DIR/dump_$DB.sql" mysqldump --verbose -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" $DB > $FILE_LOCATION diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 60a3668df20d2..181c5485fba7e 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -188,7 +188,6 @@ EOF # None ######################### mysql_exec_initial_dump() { - DATA_DIR="/bitnami/mysql/data" info "MySQL dump master data start..." mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -e 'RESET MASTER;' @@ -207,7 +206,7 @@ mysql_exec_initial_dump() { continue fi - FILE_LOCATION="$DATA_DIR/dump_$DB.sql" + FILE_LOCATION="$DB_DATA_DIR/dump_$DB.sql" mysqldump --verbose -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" $DB > $FILE_LOCATION From 2f0bafb4cb173dfb8168ea54deaeb90ac0134fc0 Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Tue, 26 Dec 2023 15:34:36 -0300 Subject: [PATCH 08/14] use lower case Signed-off-by: Michel Silva --- .../8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 4 ++-- .../8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 56ab37dc7c7f4..57dd95f836c2a 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -217,8 +217,8 @@ mysql_exec_initial_dump() { info "Ensure database exists $DB" - mysql -u "$DB_MASTER_ROOT_USER" < Date: Tue, 26 Dec 2023 15:35:32 -0300 Subject: [PATCH 09/14] update notes Signed-off-by: Michel Silva --- bitnami/mysql/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index eac944b3da707..07779a6fbb039 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -389,10 +389,10 @@ The above command scales up the number of slaves to `3`. You can scale down in t > **Note**: You should not scale up/down the number of master nodes. Always have only one master node running. -If your master database missing some binary files, the replication will broken. It's possible add `MYSQL_REPLICATION_SLAVE_DUMP=true` toe make a dump on master and import it on slave. +If your master database is missing some binary files, the replication will break. It's possible to add `MYSQL_REPLICATION_SLAVE_DUMP=true` to make a dump on the master and import it on the slave. -> **Note**: It's most important that master database is only used by this process until the end to avoid missing data. -> **Note**: This process will use "RESET MASTER;" on master database, for security make a backup of binary files. +> **Note**: The master database must be only used by this process until the end to avoid missing data. +> **Note**: This process will use "RESET MASTER" on the master database, removing all binary log files that are listed in the index file. It is recommended to make a backup of binary files to avoid possible data loss, in case something goes wrong. ### Configuration file From ccb352a86b3093c5ece57589828691aaae6b5cd3 Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Tue, 26 Dec 2023 15:36:03 -0300 Subject: [PATCH 10/14] update comment Signed-off-by: Michel Silva --- bitnami/mysql/docker-compose-replication.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/mysql/docker-compose-replication.yml b/bitnami/mysql/docker-compose-replication.yml index f1597d0708cf3..0983eeddc7a78 100644 --- a/bitnami/mysql/docker-compose-replication.yml +++ b/bitnami/mysql/docker-compose-replication.yml @@ -40,7 +40,7 @@ services: - MYSQL_MASTER_ROOT_PASSWORD=my_root_password # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes - # Only use true if master node missing binary files (The binary files will be reset, recomendate backup files) + # In case of missing binary files on master, use `true` to reset those binary files. Creating a previous backup is recommended. - MYSQL_REPLICATION_SLAVE_DUMP=false healthcheck: test: ['CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh'] From 8a5f108ea4c66366e01b8b64b42dc95e25dd662b Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Tue, 26 Dec 2023 15:37:37 -0300 Subject: [PATCH 11/14] fix if statement Signed-off-by: Michel Silva --- .../mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- .../mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 57dd95f836c2a..b325aa7ce6aeb 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -201,7 +201,7 @@ mysql_exec_initial_dump() { for DB in "${databases[@]}"; do info "Start dump process database $DB" - if [[ $DB = "information_schema" ]] || [[ $DB = "performance_schema" ]] || [[ $DB = "sys" ]]; then + if [[ $DB = @(information_schema|performance_schema|sys) ]]; then info "The table $DB not be imported, skiping" continue fi diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 9382d20b79396..6799c1bb9f7a2 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -201,7 +201,7 @@ mysql_exec_initial_dump() { for DB in "${databases[@]}"; do info "Start dump process database $DB" - if [[ $DB = "information_schema" ]] || [[ $DB = "performance_schema" ]] || [[ $DB = "sys" ]]; then + if [[ $DB = @(information_schema|performance_schema|sys) ]]; then info "The table $DB not be imported, skiping" continue fi From 06a88afc8e6189b29876cdca5a6aef75ee20c93f Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Tue, 26 Dec 2023 15:37:48 -0300 Subject: [PATCH 12/14] update info Signed-off-by: Michel Silva --- .../mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- .../mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index b325aa7ce6aeb..4e30a61f8b273 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -202,7 +202,7 @@ mysql_exec_initial_dump() { info "Start dump process database $DB" if [[ $DB = @(information_schema|performance_schema|sys) ]]; then - info "The table $DB not be imported, skiping" + info "Skipping default table $DB to be imported" continue fi diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 6799c1bb9f7a2..dce084b9e1c58 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -202,7 +202,7 @@ mysql_exec_initial_dump() { info "Start dump process database $DB" if [[ $DB = @(information_schema|performance_schema|sys) ]]; then - info "The table $DB not be imported, skiping" + info "Skipping default table $DB to be imported" continue fi From bc53c91ec4a50e7a1fa12c3818ef94adabb54a98 Mon Sep 17 00:00:00 2001 From: Michel Silva Date: Wed, 27 Dec 2023 08:27:02 -0300 Subject: [PATCH 13/14] remove head Signed-off-by: Michel Silva --- .../mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 -- .../mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 4e30a61f8b273..2ea64d271fe31 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -213,8 +213,6 @@ mysql_exec_initial_dump() { info "Finish dump database $DB" if [ $? -eq 0 ]; then - head -n 15 $FILE_LOCATION - info "Ensure database exists $DB" mysql -u "$DB_MASTER_ROOT_USER" < Date: Wed, 27 Dec 2023 08:27:20 -0300 Subject: [PATCH 14/14] update info error message Signed-off-by: Michel Silva --- .../mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- .../mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 2ea64d271fe31..10a13c8d416bb 100644 --- a/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.0/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -224,7 +224,7 @@ EOF info "Finish import dump database $DB" else - info "Fail create dump" + info "Error creating dump" fi info "Remove dump file" diff --git a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh index 165dd21ebb7e9..ddfea55f4608c 100644 --- a/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh +++ b/bitnami/mysql/8.2/debian-11/rootfs/opt/bitnami/scripts/libmysql.sh @@ -224,7 +224,7 @@ EOF info "Finish import dump database $DB" else - info "Fail create dump" + info "Error creating dump" fi info "Remove dump file"