db->last_query() and profiling of DB queries. | When you run a query, with this setting set to TRUE (default), | CodeIgniter will store the SQL statement for debugging purposes. | However, this may cause high memory usage, especially if you run | a lot of SQL queries ... disable this to avoid that problem. | | The $active_group variable lets you choose which connection group to | make active. By default there is only one group (the 'default' group). | | The $query_builder variables lets you determine whether or not to load | the query builder class. */ $active_group = 'default'; $query_builder = TRUE; // $db['default'] = array( // 'dsn' => '', // 'hostname' => 'localhost', // 'username' => 'root', // 'password' => '', // 'database' => 'db_saturssa', // '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['default'] = array( 'dsn' => '', 'hostname' => '10.10.150.135', 'username' => 'postgres', 'password' => 'itikom123', 'database' => 'db_saturssa', 'dbdriver' => 'postgre', '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, 'port' => 5432, 'init_command' => "SET TIME ZONE 'Asia/Jakarta'" ); $db['saturssa'] = array( 'dsn' => '', 'hostname' => '10.10.123.165', 'username' => 'stim', 'password' => 'stim*RS54', 'database' => 'satu_db', 'dbdriver' => 'postgre', '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, 'port' => 5001 ); $db['datasim'] = array( 'dsn' => '', 'hostname' => '10.10.123.163', 'username' => 'simrs', 'password' => 'simrs.rssa', 'database' => 'simrs', 'dbdriver' => 'postgre', '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['datagomed'] = array( 'dsn' => '', 'hostname' => '10.10.123.163', 'username' => 'stim', 'password' => 'stim*RS54', 'database' => 'gomed_db', 'dbdriver' => 'postgre', '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['dataradiologi'] = array( 'dsn' => '', 'hostname' => '10.10.123.141', 'username' => 'simrs', 'password' => 'RISadmin@2022', 'database' => 'fk_radiology', '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['default']['hostname'] = 'localhost'; // $db['default']['username'] = 'root'; // $db['default']['password'] = ''; // $db['default']['database'] = 'db_saturssa'; // $db['default']['dbdriver'] = 'mysqli'; // $db['default']['dbprefix'] = ''; // $db['default']['pconnect'] = TRUE; // $db['default']['db_debug'] = TRUE; // $db['default']['cache_on'] = FALSE; // $db['default']['cachedir'] = ''; // $db['default']['char_set'] = 'utf8'; // $db['default']['dbcollat'] = 'utf8_general_ci'; // $db['default']['swap_pre'] = ''; // $db['default']['autoinit'] = TRUE; // $db['default']['stricton'] = FALSE; // $db2['default']['hostname'] = '10.10.123.165'; // $db2['default']['username'] = 'stim'; // $db2['default']['password'] = 'stim*RS54'; // $db2['default']['database'] = 'satu_db'; // $db2['default']['dbdriver'] = 'postgre'; // $db2['default']['dbprefix'] = ''; // $db2['default']['pconnect'] = TRUE; // $db2['default']['db_debug'] = TRUE; // $db2['default']['cache_on'] = FALSE; // $db2['default']['cachedir'] = ''; // $db2['default']['char_set'] = 'utf8'; // $db2['default']['dbcollat'] = 'utf8_general_ci'; // $db2['default']['swap_pre'] = ''; // $db2['default']['autoinit'] = TRUE; // $db2['default']['stricton'] = FALSE;