Commit ea2a75c2 by tingweiwang

Update 3-set-mysql.sh

1 parent a1063a1c
Showing with 2 additions and 1 deletions
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!