Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ea2a75c2
authored
Apr 14, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3-set-mysql.sh
1 parent
a1063a1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
script/seetaas/3-set-mysql.sh
script/seetaas/3-set-mysql.sh
View file @
ea2a75c
...
...
@@ -23,7 +23,8 @@ mysql -u $mysql_user -p$mysql_password autodl-core <$workspace/src/autodl-core/s
mysql -u
$mysql_user
-p
$mysql_password
autodl-core <
$workspace
/src/autodl-core/sql/190321.sql
mysql -u
$mysql_user
-p
$mysql_password
autodl-core <
$workspace
/src/autodl-core/sql/190402.sql
echo
"为autodl-core设置service记录"
mysql -u
$mysql_user
-p
$mysql_password
-e
'INSERT INTO `autodl-core`.`service` (`service_id`, `noti_api`) VALUES ("kpl", "http://kpl--monitor.kpl.svc.cluster.local:8920/status");'
#seetaas3是service_id,需要保证configmap与初始化sql里的service_id一致,内部和私有部署为seetaas3,金山云为kpl
mysql -u
$mysql_user
-p
$mysql_password
-e
'INSERT INTO `autodl-core`.`service` (`service_id`, `noti_api`) VALUES ("seetaas3", "http://kpl--monitor.kpl.svc.cluster.local:8920/status");'
#######################设置user-center数据库相关########################
echo
"加载user-center所需sql"
mysql -u
$mysql_user
-p
$mysql_password
user-center <
$workspace
/src/user-center/sql/20190411.sql
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment