zhengchengwu 6 years ago
parent
commit
2c5f3e64d7
1 changed files with 28 additions and 28 deletions
  1. 28 28
      data/config.php

+ 28 - 28
data/config.php View File

4
 $config = array();
4
 $config = array();
5
 
5
 
6
 //dev
6
 //dev
7
+$config['db']['master']['host'] = 'rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com';
8
+$config['db']['master']['username'] = 'root';
9
+$config['db']['master']['password'] = '1Q2W3e4r!@#$';
10
+$config['db']['master']['port'] = '3306';
11
+$config['db']['master']['database'] = 'renren_dev';
12
+$config['db']['master']['charset'] = 'utf8mb4';
13
+$config['db']['master']['pconnect'] = 0;
14
+$config['db']['master']['tablepre'] = 'ims_';
15
+
16
+$config['other_db']['sgj_user']['host'] = 'rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com';
17
+$config['other_db']['sgj_user']['username'] = 'root';
18
+$config['other_db']['sgj_user']['password'] = '1Q2W3e4r!@#$';
19
+$config['other_db']['sgj_user']['port'] = '3306';
20
+$config['other_db']['sgj_user']['database'] = 'sgj_users';
21
+$config['other_db']['sgj_user']['charset'] = 'utf8mb4';
22
+$config['other_db']['sgj_user']['pconnect'] = 0;
23
+$config['other_db']['sgj_user']['tablepre'] = '';
24
+
25
+$config['fxtokenkey'] = 'kN*5&AHqLP7&IGRKvHoElJm*2YY6Nw*QSScJ4ff&DH&ofGnbfQIks1A1NT9AbIDB';
26
+
27
+//prod
7
 // $config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
28
 // $config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
8
-// $config['db']['master']['username'] = 'ztw';
9
-// $config['db']['master']['password'] = 'ztw123456=';
29
+// $config['db']['master']['username'] = 'syh';
30
+// $config['db']['master']['password'] = 'xhPECP2nFObR8aUK';
10
 // $config['db']['master']['port'] = '3306';
31
 // $config['db']['master']['port'] = '3306';
11
-// $config['db']['master']['database'] = 'renren_dev';
32
+// $config['db']['master']['database'] = 'renren';
12
 // $config['db']['master']['charset'] = 'utf8mb4';
33
 // $config['db']['master']['charset'] = 'utf8mb4';
13
 // $config['db']['master']['pconnect'] = 0;
34
 // $config['db']['master']['pconnect'] = 0;
14
 // $config['db']['master']['tablepre'] = 'ims_';
35
 // $config['db']['master']['tablepre'] = 'ims_';
15
 
36
 
16
 // $config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
37
 // $config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
17
-// $config['other_db']['sgj_user']['username'] = 'ztw';
18
-// $config['other_db']['sgj_user']['password'] = 'ztw123456=';
38
+// $config['other_db']['sgj_user']['username'] = 'syh';
39
+// $config['other_db']['sgj_user']['password'] = 'xhPECP2nFObR8aUK';
19
 // $config['other_db']['sgj_user']['port'] = '3306';
40
 // $config['other_db']['sgj_user']['port'] = '3306';
20
-// $config['other_db']['sgj_user']['database'] = 'sgj_users_dev';
41
+// $config['other_db']['sgj_user']['database'] = 'sgj_users';
21
 // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
42
 // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
22
 // $config['other_db']['sgj_user']['pconnect'] = 0;
43
 // $config['other_db']['sgj_user']['pconnect'] = 0;
23
 // $config['other_db']['sgj_user']['tablepre'] = '';
44
 // $config['other_db']['sgj_user']['tablepre'] = '';
24
 
45
 
25
-// $config['fxtokenkey'] = 'kN*5&AHqLP7&IGRKvHoElJm*2YY6Nw*QSScJ4ff&DH&ofGnbfQIks1A1NT9AbIDB';
26
-
27
-//prod
28
-$config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
29
-$config['db']['master']['username'] = 'syh';
30
-$config['db']['master']['password'] = 'xhPECP2nFObR8aUK';
31
-$config['db']['master']['port'] = '3306';
32
-$config['db']['master']['database'] = 'renren';
33
-$config['db']['master']['charset'] = 'utf8mb4';
34
-$config['db']['master']['pconnect'] = 0;
35
-$config['db']['master']['tablepre'] = 'ims_';
36
-
37
-$config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
38
-$config['other_db']['sgj_user']['username'] = 'syh';
39
-$config['other_db']['sgj_user']['password'] = 'xhPECP2nFObR8aUK';
40
-$config['other_db']['sgj_user']['port'] = '3306';
41
-$config['other_db']['sgj_user']['database'] = 'sgj_users';
42
-$config['other_db']['sgj_user']['charset'] = 'utf8mb4';
43
-$config['other_db']['sgj_user']['pconnect'] = 0;
44
-$config['other_db']['sgj_user']['tablepre'] = '';
45
-
46
-$config['fxtokenkey'] = '8&o!5VSz^iWe*PzhDogC5%m*S$ZlyB3c%5R4CrWjTwJJSJdEbop6do@eFR*7deTY';
46
+// $config['fxtokenkey'] = '8&o!5VSz^iWe*PzhDogC5%m*S$ZlyB3c%5R4CrWjTwJJSJdEbop6do@eFR*7deTY';
47
 
47
 
48
 $config['db']['slave_status'] = false;
48
 $config['db']['slave_status'] = false;
49
 $config['db']['slave']['1']['host'] = '';
49
 $config['db']['slave']['1']['host'] = '';