From 044d098b9b44a9d336124a2ab9a5d86c51275cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20G=C3=BCne=C5=9F?= Date: Thu, 12 Dec 2024 16:59:03 +0300 Subject: [PATCH] K8SPXC-1222: Remove state check for 5.7 --- build/pxc-entrypoint.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/build/pxc-entrypoint.sh b/build/pxc-entrypoint.sh index 14910fff9..9f12e2b97 100755 --- a/build/pxc-entrypoint.sh +++ b/build/pxc-entrypoint.sh @@ -522,19 +522,11 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then fi set -x - if [[ "$MYSQL_VERSION" =~ ^(8\.0|8\.4)$ ]]; then - mysqlState="startup" - while [[ "${mysqlState}" != "ready" ]]; do - mysqlState=$(tr -d '\0' < ${MYSQL_STATE_FILE}) - echo >&2 "MySQL upgrade process in progress..." - sleep 1 - done - fi for i in {120..0}; do if echo 'SELECT 1' | "${mysql[@]}" &>/dev/null; then break fi - + echo >&2 "MySQL upgrade process in progress..." sleep 1 done if [ "$i" = 0 ]; then