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' => 'office.mindden.com', //'hostname' => "localhost", 'port' => '33306', //'port' => '3306', 'username' => 'root', 'password' => 'mindden2017', //'password' => '', 'database' => 'liciagbar', '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, ); /* if (isset($_SERVER["SERVER_NAME"])) { switch ($_SERVER["SERVER_NAME"]) { //DESARROLLO case "rielchyc": $db['default'] = array( 'dsn' => '', 'hostname' => '217.125.90.43', //'hostname' => "localhost", 'port' => '33306', //'port' => '3306', 'username' => 'root', 'password' => 'mindden2017', //'password' => '', 'database' => 'rielchyc', '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 ); break; //DESARROLLO STP case "mediosdev.stpnettraining.com": $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'port' => '3306', 'username' => 'root_medios', 'password' => 'uRp60x!9', 'database' => 'admin_mediosdev', '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 ); break; } } else { //CRONS $db['default']['database'] = 'rielchyc'; }*/