changes for mysql 1
This commit is contained in:
parent
8769e826e1
commit
7c53e4bbaa
@ -39,7 +39,7 @@ spec:
|
|||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
echo "Waiting for MySQL to be fully initialized..."
|
echo "Waiting for MySQL to be fully initialized..."
|
||||||
until mysql -h {{ .Values.externalDatabase.host }} -P {{ .Values.externalDatabase.port }} -u {{ .Values.externalDatabase.username }} -p${MYSQL_PASSWORD} -e "SELECT 1 FROM GROUP_DETAILS LIMIT 1" {{ .Values.externalDatabase.database }} 2>/dev/null; do
|
until mysql -h {{ .Values.externalDatabase.host }} -P {{ .Values.externalDatabase.port }} -u {{ .Values.externalDatabase.username }} -p${MYSQL_PASSWORD} -e "SELECT 1 FROM group_details LIMIT 1" {{ .Values.externalDatabase.database }} 2>/dev/null; do
|
||||||
echo "Waiting for database tables to be created..."
|
echo "Waiting for database tables to be created..."
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user