/
db.php
89 lines (80 loc) · 1.7 KB
/
db.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
/**
* Fuel
*
* Fuel is a fast, lightweight, community driven PHP5 framework.
*
* @package Fuel
* @version 1.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 Dan Horrigan
* @link http://fuelphp.com
*/
namespace Fuel\App;
return array(
'active' => Config::get('environment'),
'dev' => array(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'database' => 'phpdev',
'username' => 'bar',
'password' => 'foo',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => false,
'profiling' => false,
),
'production' => array(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'database' => 'fuel_prod',
'username' => 'root',
'password' => '',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => false,
'profiling' => false,
),
'test' => array(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'database' => 'fuel_test',
'username' => 'root',
'password' => '',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => false,
'profiling' => false,
),
'qa' => array(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'database' => 'fuel_qa',
'username' => 'root',
'password' => '',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => false,
'profiling' => false,
),
'redis' => array(
'default' => array(
'hostname' => '127.0.0.1',
'port' => 6379,
)
),
);
/* End of file db.php */