I\'m trying to use the PDO MySQL driver in my CodeIgniter application. This is my database config:
$active_group = \'default\'; $active_record = TRUE; $db[\
On file /application/config/database.php where is
$db['default']['hostname'] = 'localhost';
must be
$db['default']['hostname'] = 'mysql:host=localhost';
localhost or your database host.