Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
esf
fenzhan_zsb
Commits
e483c869
Commit
e483c869
authored
Nov 19, 2020
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分站读主库
parent
f817d5eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
database.php
new_admincp/applications/zsb/config/database.php
+2
-1
No files found.
new_admincp/applications/zsb/config/database.php
View file @
e483c869
...
@@ -711,7 +711,8 @@ else
...
@@ -711,7 +711,8 @@ else
default
:
$dbback_hostname
=
'wdnjesfdbslave01.house365.com'
;
break
;
default
:
$dbback_hostname
=
'wdnjesfdbslave01.house365.com'
;
break
;
}
}
//从库
//从库
$db
[
'dbback'
][
'hostname'
]
=
$dbback_hostname
;
//$db['dbback']['hostname'] = $dbback_hostname;
$db
[
'dbback'
][
'hostname'
]
=
$db_hostname
;
$db
[
'dbback'
][
'username'
]
=
'root'
;
$db
[
'dbback'
][
'username'
]
=
'root'
;
$db
[
'dbback'
][
'password'
]
=
'idontcare'
;
$db
[
'dbback'
][
'password'
]
=
'idontcare'
;
$db
[
'dbback'
][
'database'
]
=
$db_database
;
$db
[
'dbback'
][
'database'
]
=
$db_database
;
...
...
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