BBnepal-Accounts/application/config/database.php

166 lines
4.1 KiB
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php
defined('BASEPATH') or exit('No direct script access allowed');
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => ($_SERVER['HTTP_HOST']=="localhost")?'root':'myurlsco_bbnepal_user',
'password' => ($_SERVER['HTTP_HOST']=="localhost")?'':'NayaNepal@123',
'database' => ($_SERVER['HTTP_HOST']=="localhost")?'bbnepal_main':'myurlsco_bbnepal_main',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['erisnClassroom_lms'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'blackb_bbnepal_user',
// 'password' => '',
'password' => 'q2IxAnPe-m%)',
'database' => 'bbnepal_library',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['hr'] = array(
'dsn' => '',
'hostname' => 'localhost',
// 'username' => 'blackb_bbnepal_user',
// // 'password' => '',
// 'password' => 'q2IxAnPe-m%)',
'username' => 'root',
'password' => 'root',
'database' => 'blackb_bbnepal_hr',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['hms'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'blackb_bbnepal_user',
// 'password' => '',
'password' => 'q2IxAnPe-m%)',
'database' => 'blackb_bbnepal_hostel',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['erisnClassroom_bts'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => 'root',
'database' => 'demo_bus_tracking',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['schoolSetting'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'blackb_main_user',
'password' => 'XWYnG?JM&2A^',
'database' => 'blackb_main_list',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['accounting'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => ($_SERVER['HTTP_HOST']=="localhost")?'root':'myurlsco_bbnepal_user',
'password' => ($_SERVER['HTTP_HOST']=="localhost")?'':'NayaNepal@123',
'database' => ($_SERVER['HTTP_HOST']=="localhost")?'bbnepal_accounting':'myurlsco_bbnepal_accounts',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);