mysql; $params->type = "MySQL"; $params->prefix = "create_"; $this->db = new Query_Builder($params); // echo '
MySQL Queries
'; } elseif (($var = getenv('CI'))) { $params = array( 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'test', 'user' => 'root', 'pass' => NULL, 'type' => 'mysql', 'prefix' => 'create_' ); $this->db = new Query_Builder($params); } else { die("Error with mysql credentials"); } } // -------------------------------------------------------------------------- public function TestExists() { $this->assertTrue(in_array('mysql', PDO::getAvailableDrivers())); } }