blob: 204ef68943a97c09c724446cff71cb09671b6176 [file] [log] [blame]
adminb0dd10f2006-08-25 17:25:49 +00001<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2/*
3| -------------------------------------------------------------------
4| DATABASE CONNECTIVITY SETTINGS
5| -------------------------------------------------------------------
6| This file will contain the settings needed to access your database.
7|
8| For complete instructions please consult the "Database Connection"
9| page of the User Guide.
10|
11| -------------------------------------------------------------------
12| EXPLANATION OF VARIABLES
13| -------------------------------------------------------------------
14|
15| ['hostname'] The hostname of your database server.
16| ['username'] The username used to connect to the database
17| ['password'] The password used to connect to the database
18| ['database'] The name of the database you want to connect to
19| ['dbdriver'] The database type. ie: mysql. Currently supported:
20 mysql, mysqli, postgre, odbc, mssql
21| ['dbprefix'] You can add an optional prefix, which will be added
22| to the table name when using the Active Record class
23| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
24| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
25| ['active_r'] TRUE/FALSE - Whether to load the active record class
26|
27| The $active_group variable lets you choose which connection group to
28| make active. By default there is only one group (the "default" group).
29|
30*/
31
admine6ed3d92006-09-03 18:38:18 +000032$active_group = "default";
adminb0dd10f2006-08-25 17:25:49 +000033
34$db['default']['hostname'] = "localhost";
admin41a16852006-09-26 18:17:19 +000035$db['default']['username'] = "root";
adminb0dd10f2006-08-25 17:25:49 +000036$db['default']['password'] = "";
admin41a16852006-09-26 18:17:19 +000037$db['default']['database'] = "test";
adminb0dd10f2006-08-25 17:25:49 +000038$db['default']['dbdriver'] = "mysql";
39$db['default']['dbprefix'] = "";
40$db['default']['active_r'] = TRUE;
41$db['default']['pconnect'] = FALSE;
42$db['default']['db_debug'] = TRUE;
43
adminb0dd10f2006-08-25 17:25:49 +000044?>