Code Review
/
vfc
/
nfvo
/
db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
840c057
)
Fix docker init sh for db
43/85543/1
author
yangyan
<yangyanyj@chinamobile.com>
Wed, 17 Apr 2019 08:26:52 +0000
(16:26 +0800)
committer
yangyan
<yangyanyj@chinamobile.com>
Wed, 17 Apr 2019 08:26:57 +0000
(16:26 +0800)
Issue-ID: VFC-1306
Change-Id: I14f3ae2665de71d50d8c0be6d4ebccd36d8d77ec
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
docker/instance_run.sh
patch
|
blob
|
history
diff --git
a/docker/instance_run.sh
b/docker/instance_run.sh
index
db286c8
..
78609f1
100755
(executable)
--- a/
docker/instance_run.sh
+++ b/
docker/instance_run.sh
@@
-29,6
+29,8
@@
function run_forever {
start_redis_server
start_mysql
+mysql -uroot -p$MYSQL_ROOT_PASSWORD -e " GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root';"
+mysql -uroot -p$MYSQL_ROOT_PASSWORD -e "flush privileges;"
# if [ ! -f dbexist.txt ]; then
# echo 1 > dbexist.txt
# create_database