This is my connection:
Using CodeIgniter
$db['mysql'] = array(
'dsn' => 'mysql:host=mysql.hostinger.co;dbname=u201535648_regis',
'hostname' => 'mysql.hostinger.co',
'username' => 'u201535648_germa',
'password' => 'password',
'database' => 'u201535648_regis',
'dbdriver' => 'pdo',
);
This is the connection of my local, I do not know very well how to configure the dsn
$db['mysql'] = array(
'dsn' => 'mysql:hostname=localhost; dbname=1410inventory',
'hostname' => '',
'username' => 'root',
'password' => '',
'database' => '',
'dbdriver' => 'pdo',
);
This is the connection I have to make:
My log pulls this:
ERROR - 2018-07-23 19:36:18 - > PDO: Invalid or non-existent subdriver
Please help, it's urgent.