Hey everyone, I'm trying to use the PDO driver for enhanced security but cant query the database.
I set the the static model properties but I always get the following exception regardless of what model i'm using.
Fuel\Core\Database_Exception [ Error ]: invalid data source name.
If I switch to mysqli there are no problems. Anyone else using the PDO driver and run into this?
The DSN variable is null when the connection is trying to be made on https://github.com/fuel/core/blob/master/classes/database/pdo/connection.php#L72
I can enter the params manually like
$this->_connection = new \PDO("mysql:host=localhost;dbname=fuel_dev", $username, $password, $attrs);
and it will make a connection, but there is no explicit dsn param in the config/db.php file