Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
8537ecf7
Commit
8537ecf7
authored
Dec 24, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workflow
parent
0146ead0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
2 deletions
+182
-2
db_execute_sql.sh
db-utils/db_execute_sql.sh
+2
-2
workflow.sql
db-utils/sql_to_run/workflow.sql
+180
-0
No files found.
db-utils/db_execute_sql.sh
View file @
8537ecf7
...
...
@@ -15,8 +15,8 @@ echo "cd $sql_file_folder"
cd
$sql_file_folder
if
[
-n
"
$db_name
"
]
;
then
if
[
-f
$db_name
.sql
]
;
then
echo
"mysql -h
$mysql_host
-P
$target_db_port
-uqa -pqatest <
$db_name
.sql"
mysql
-h
$mysql_host
-P
$target_db_port
-uqa
-pqatest
<
$db_name
.sql
echo
"mysql -h
$mysql_host
-P
$target_db_port
-uqa -pqatest
$db_name
<
$db_name
.sql"
mysql
-h
$mysql_host
-P
$target_db_port
-uqa
-pqatest
$db_name
<
$db_name
.sql
else
echo
"have no
$db_name
.sql"
fi
...
...
db-utils/sql_to_run/workflow.sql
0 → 100644
View file @
8537ecf7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment