Skip to content

Commit

Permalink
add DSN schemes for mysqli, oci8 and sqlsrv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickael GOETZ committed Oct 27, 2023
1 parent f549108 commit 110b477
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ class ConnectionFactory
'db2' => 'ibm_db2',
'mssql' => 'pdo_sqlsrv',
'mysql' => 'pdo_mysql',
'mysqli' => 'pdo_mysql',
'mysql2' => 'pdo_mysql', // Amazon RDS, for some weird reason
'oci8' => 'oci8',
'postgres' => 'pdo_pgsql',
'postgresql' => 'pdo_pgsql',
'pgsql' => 'pdo_pgsql',
'sqlite' => 'pdo_sqlite',
'sqlite3' => 'pdo_sqlite',
'sqlsrv' => 'sqlsrv',
];

/** @var mixed[][] */
Expand Down

0 comments on commit 110b477

Please sign in to comment.