summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
38dc7ec)
Issue-ID: VFC-900
Change-Id: I84c8f152325b0f1fd65b92772309cb9a6f97b771
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
function create_database {
cd /service/bin
function create_database {
cd /service/bin
- bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1
+ if [ ! -f dbexist.txt ]; then
+ echo 1 > dbexist.txt
+ bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1
+ fi