Commit 1912cbd5 authored by kalvin's avatar kalvin

localhost

parent 7017ec95
......@@ -383,7 +383,7 @@ until [[ $count -eq 300 ]] || [[ $db_is_running -eq 1 ]]
do
let count+=1
echo "count is $count"
mysqladmin -h db -u$USER -p$PASSWORD processlist
mysqladmin -h localhost -u$USER -p$PASSWORD processlist
if [ $? -eq 0 ]
then
echo "db is running"
......@@ -400,7 +400,7 @@ if [[ $db_is_running -eq 1 ]]
echo "start replace db domain"
DB_FILE=dump.sql
HOST=$DB_SERVICE_HOST
HOST=localhost
PORT='3306'
HTTPS='true'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment