diff --git a/8.0/Dockerfile b/8.0/Dockerfile index d5e4328..2c4eb09 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -79,9 +79,9 @@ RUN set -eux; \ && true ENV MYSQL_MAJOR=8.0 -ENV MYSQL_VERSION=8.0.42-1debian12 +ENV MYSQL_VERSION=8.0.43-1debian12 -# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.42-1debian12_amd64.deb +# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.43-1debian12_amd64.deb RUN set -eux \ && echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0' > /etc/apt/sources.list.d/mysql.list \ && true diff --git a/8.0/scripts/___mysqlexport.sh b/8.0/scripts/___mysqlexport.sh index 0efec20..20528dd 100755 --- a/8.0/scripts/___mysqlexport.sh +++ b/8.0/scripts/___mysqlexport.sh @@ -11,9 +11,9 @@ XDB_EXPORT_GZIP="$DB_EXPORT_GZIP" XDB_EXPORT= # Required env variables -if [[ -z "$DB_NAME" ]]; then "ERROR: `DB_NAME` env variable is required."; exit 1; fi -if [[ -z "$DB_USERNAME" ]]; then "ERROR: `DB_USERNAME` env variable is required."; exit 1; fi -if [[ -z "$DB_PASSWORD" ]]; then "ERROR: `DB_PASSWORD` env variable is required."; exit 1; fi +if [[ -z "$DB_NAME" ]]; then echo "ERROR: 'DB_NAME' env variable is required."; exit 1; fi +if [[ -z "$DB_USERNAME" ]]; then echo "ERROR: 'DB_USERNAME' env variable is required."; exit 1; fi +if [[ -z "$DB_PASSWORD" ]]; then echo "ERROR: 'DB_PASSWORD' env variable is required."; exit 1; fi # Optional env variables if [[ -z "$XDB_PROTO" ]]; then XDB_PROTO="tcp"; fi diff --git a/8.0/scripts/___mysqlimport.sh b/8.0/scripts/___mysqlimport.sh index d8690a8..d0cbf9e 100755 --- a/8.0/scripts/___mysqlimport.sh +++ b/8.0/scripts/___mysqlimport.sh @@ -13,10 +13,10 @@ XDB_IMPORT_GZIP="$DB_IMPORT_GZIP" XDB_IMPORT= # Required env variables -if [[ -z "$DB_NAME" ]]; then "ERROR: `DB_NAME` env variable is required."; exit 1; fi -if [[ -z "$DB_USERNAME" ]]; then "ERROR: `DB_USERNAME` env variable is required."; exit 1; fi -if [[ -z "$DB_PASSWORD" ]]; then "ERROR: `DB_PASSWORD` env variable is required."; exit 1; fi -if [[ -z "$DB_IMPORT_FILE_PATH" ]]; then "ERROR: `DB_IMPORT_FILE_PATH` env variable is required."; exit 1; fi +if [[ -z "$DB_NAME" ]]; then echo "ERROR: 'DB_NAME' env variable is required."; exit 1; fi +if [[ -z "$DB_USERNAME" ]]; then echo "ERROR: 'DB_USERNAME' env variable is required."; exit 1; fi +if [[ -z "$DB_PASSWORD" ]]; then echo "ERROR: 'DB_PASSWORD' env variable is required."; exit 1; fi +if [[ -z "$DB_IMPORT_FILE_PATH" ]]; then echo "ERROR: 'DB_IMPORT_FILE_PATH' env variable is required."; exit 1; fi # Optional env variables if [[ -z "$XDB_PROTO" ]]; then XDB_PROTO="tcp"; fi diff --git a/README.md b/README.md index 9e1b267..fe92d73 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ For more details see the official [MySQL 8 Client Programs](https://dev.mysql.co ```sh docker run -it --rm joseluisq/mysql-client mysql --version -# mysql Ver 8.0.42 for Linux on x86_64 (MySQL Community Server - GPL) +# mysql Ver 8.0.43 for Linux on x86_64 (MySQL Community Server - GPL) ``` ## User privileges @@ -95,7 +95,7 @@ docker run --rm -it \ # MySQL 8 Client - Exporter # ========================= -# mysqldump Ver 8.0.42 for Linux on x86_64 (MySQL Community Server - GPL) +# mysqldump Ver 8.0.43 for Linux on x86_64 (MySQL Community Server - GPL) # Exporting database `mydb` into a SQL script file... # Output file: database_name.sql (SQL Text) @@ -176,7 +176,7 @@ docker run --rm -it \ # MySQL 8 Client - Importer # ========================= -# mysql Ver 8.0.42 for Linux on x86_64 (MySQL Community Server - GPL) +# mysql Ver 8.0.43 for Linux on x86_64 (MySQL Community Server - GPL) # Importing a SQL script file into database `mydb`... # Input file: database_name.sql (4.0K / SQL Text)