Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
update_cate
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
6f297b1a
authored
Apr 15, 2019
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
d3030da7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
utils/mysqlopera.py
utils/mysqlopera.py
View file @
6f297b1a
...
...
@@ -28,9 +28,10 @@ UP_SET = {
def
get_mysql_conf
(
db
):
host
=
HOST_SET
[
ENV
]
if
ENV
==
'test'
and
db
in
[
'hc360'
]:
host
=
HOST_SET
[
'test234'
]
if
db
in
[
'hc360'
]:
db
=
'bigdata'
if
ENV
==
'test'
:
host
=
HOST_SET
[
'test234'
]
up
=
UP_SET
[
ENV
]
conf
=
{
'host'
:
host
,
...
...
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