blob: 5293a5a6a509e4d000ba05762ab6f45ac0792366 [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.
admine334c472006-10-21 19:44:22 +000016| ['username'] The username used to connect to the database
17| ['password'] The password used to connect to the database
adminb0dd10f2006-08-25 17:25:49 +000018| ['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
admine334c472006-10-21 19:44:22 +000021| ['dbprefix'] You can add an optional prefix, which will be added
adminb0dd10f2006-08-25 17:25:49 +000022| 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
admin6dfa7132006-10-20 05:01:30 +000026| ['cache_on'] TRUE/FALSE - Enables/disables query caching
27| ['cachedir'] The path to the folder where cache files should be stored
adminb0dd10f2006-08-25 17:25:49 +000028|
29| The $active_group variable lets you choose which connection group to
30| make active. By default there is only one group (the "default" group).
31|
32*/
33
admine6ed3d92006-09-03 18:38:18 +000034$active_group = "default";
adminb0dd10f2006-08-25 17:25:49 +000035
36$db['default']['hostname'] = "localhost";
admine7e1dcd2006-10-21 18:04:01 +000037$db['default']['username'] = "root";
adminb0dd10f2006-08-25 17:25:49 +000038$db['default']['password'] = "";
admin05186612006-10-28 03:28:01 +000039$db['default']['database'] = "test";
adminb0dd10f2006-08-25 17:25:49 +000040$db['default']['dbdriver'] = "mysql";
41$db['default']['dbprefix'] = "";
42$db['default']['active_r'] = TRUE;
admin10c3f412006-10-08 07:21:12 +000043$db['default']['pconnect'] = TRUE;
adminb0dd10f2006-08-25 17:25:49 +000044$db['default']['db_debug'] = TRUE;
admin05186612006-10-28 03:28:01 +000045$db['default']['cache_on'] = FALSE;
Rick Ellis257651d2006-11-23 18:40:13 +000046$db['default']['cachedir'] = "";
admin6871d952006-10-04 00:36:18 +000047
adminb0dd10f2006-08-25 17:25:49 +000048
adminb0dd10f2006-08-25 17:25:49 +000049?>