Add log
This commit is contained in:
parent
72be24a835
commit
7238f15d54
@ -171,7 +171,10 @@ if [ $res -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s "$mydir/initdemopostsql.sql" ]; then
|
if [ -s "$mydir/initdemopostsql.sql" ]; then
|
||||||
|
echo A file initdemopostsql.sql was found, we execute it.
|
||||||
mysql -P$port $base < "$mydir/initdemopostsql.sql"
|
mysql -P$port $base < "$mydir/initdemopostsql.sql"
|
||||||
|
else
|
||||||
|
echo No file initdemopostsql.sql found, we extra sql action done.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user