wordygo/application/config/database.php
2013-11-26 12:54:17 +01:00

117 lines
5.0 KiB
PHP

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported:
mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
| NOTE: For MySQL and MySQLi databases, this setting is only used
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
| (and in table creation queries made with DB Forge).
| There is an incompatibility in PHP with mysql_real_escape_string() which
| can make your site vulnerable to SQL injection if you are using a
| multi-byte character set and are running versions lower than these.
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
| ['autoinit'] Whether or not to automatically initialize the database.
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
| - good for ensuring strict SQL while developing
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the 'default' group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/
$active_group = 'local';
//$active_group = 'sebbe-int';
//$active_group = 'sebbe-ext';
$active_record = TRUE;
$db['local']['hostname'] = 'localhost';
$db['local']['username'] = 'wordwordgo_admin';
$db['local']['password'] = '1112wOrDgO??';
$db['local']['database'] = 'wordwordgo';
$db['local']['dbdriver'] = 'mysqli';
$db['local']['dbprefix'] = '';
$db['local']['pconnect'] = TRUE;
$db['local']['db_debug'] = TRUE;
$db['local']['cache_on'] = FALSE;
$db['local']['cachedir'] = '';
$db['local']['char_set'] = 'utf8';
$db['local']['dbcollat'] = 'utf8_general_ci';
$db['local']['swap_pre'] = '';
$db['local']['autoinit'] = TRUE;
$db['local']['stricton'] = FALSE;
$db['sebbe-int']['hostname'] = '192.168.1.50';
$db['sebbe-int']['username'] = 'wordwordgo_admin';
$db['sebbe-int']['password'] = '1112wOrDgO??';
$db['sebbe-int']['database'] = 'wordwordgo';
$db['sebbe-int']['dbdriver'] = 'mysqli';
$db['sebbe-int']['dbprefix'] = '';
$db['sebbe-int']['pconnect'] = TRUE;
$db['sebbe-int']['db_debug'] = TRUE;
$db['sebbe-int']['cache_on'] = FALSE;
$db['sebbe-int']['cachedir'] = '';
$db['sebbe-int']['char_set'] = 'utf8';
$db['sebbe-int']['dbcollat'] = 'utf8_general_ci';
$db['sebbe-int']['swap_pre'] = '';
$db['sebbe-int']['autoinit'] = TRUE;
$db['sebbe-int']['stricton'] = FALSE;
$db['sebbe-ext']['hostname'] = '81.186.252.233';
$db['sebbe-ext']['username'] = 'wordwordgo_admin';
$db['sebbe-ext']['password'] = '1112wOrDgO??';
$db['sebbe-ext']['database'] = 'wordwordgo';
$db['sebbe-ext']['dbdriver'] = 'mysqli';
$db['sebbe-ext']['dbprefix'] = '';
$db['sebbe-ext']['pconnect'] = TRUE;
$db['sebbe-ext']['db_debug'] = TRUE;
$db['sebbe-ext']['cache_on'] = FALSE;
$db['sebbe-ext']['cachedir'] = '';
$db['sebbe-ext']['char_set'] = 'utf8';
$db['sebbe-ext']['dbcollat'] = 'utf8_general_ci';
$db['sebbe-ext']['swap_pre'] = '';
$db['sebbe-ext']['autoinit'] = TRUE;
$db['sebbe-ext']['stricton'] = FALSE;
$db['sigge-int']['hostname'] = '130.235.134.187';
$db['sigge-int']['username'] = 'whitemill_admin';
$db['sigge-int']['password'] = '1112wHiTeMiLl??';
$db['sigge-int']['database'] = 'whitemill';
$db['sigge-int']['dbdriver'] = 'mysqli';
$db['sigge-int']['dbprefix'] = '';
$db['sigge-int']['pconnect'] = TRUE;
$db['sigge-int']['db_debug'] = TRUE;
$db['sigge-int']['cache_on'] = FALSE;
$db['sigge-int']['cachedir'] = '';
$db['sigge-int']['char_set'] = 'utf8';
$db['sigge-int']['dbcollat'] = 'utf8_general_ci';
$db['sigge-int']['swap_pre'] = '';
$db['sigge-int']['autoinit'] = TRUE;
$db['sigge-int']['stricton'] = FALSE;
/* End of file database.php */