lsphp80, fix sql

This commit is contained in:
Cold-Egg
2021-06-09 15:56:26 +08:00
parent f0a85ad8a8
commit 51712ae88e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ set_vh_docroot(){
check_sql_native(){
local COUNTER=0
local LIMIT_NUM=100
until [ "$(curl -v mysql:3306 2>&1 | grep native)" ]; do
until [ "$(curl -v mysql:3306 2>&1 | grep -i 'native\|Connected')" ]; do
echo "Counter: ${COUNTER}/${LIMIT_NUM}"
COUNTER=$((COUNTER+1))
if [ ${COUNTER} = 10 ]; then