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 935a1ada
authored
Jun 02, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增创建数据库quota
1 parent
8e9d0245
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
script/seetaas/3-set-mysql.sh
script/seetaas/3-set-mysql.sh
View file @
935a1ad
...
...
@@ -14,8 +14,10 @@ echo "创建数据库autodl-core"
mysql -u
$mysql_user
-p
$mysql_password
-e
'CREATE SCHEMA `autodl-core`;'
#数据库名字带-需要通过``符号转义
echo
"创建数据库user-center"
mysql -u
$mysql_user
-p
$mysql_password
-e
'CREATE SCHEMA `user-center`;'
echo
"创建数据库seetaas"
mysql -u
$mysql_user
-p
$mysql_password
-e
'CREATE SCHEMA `seetaas`;'
echo
"创建数据库quota"
mysql -u
$mysql_user
-p
$mysql_password
-e
'CREATE SCHEMA `quota`;'
############设置autodl-core数据库#################################
echo
"加载autodl-core所需sql"
mysql -u
$mysql_user
-p
$mysql_password
autodl-core <
$workspace
/src/autodl-core/sql/1106.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