CI3 - How to refer to PDO subdrivers from database.php config? |
I found that in __construct() in pdo_driver.php the subdriver is auto-determined. Thus, all that should be needed to use a PDO subdriver is setting dbdriver to 'pdo', the hostname portion is used to auto-select the appropriate subdriver.
Code: $db['local_windows_pdo']['database'] = 'MY_DB'; |
Messages In This Thread |
CI3 - How to refer to PDO subdrivers from database.php config? - by elijahlofgren - 04-27-2015, 02:02 PM
RE: CI3 - How to refer to PDO subdrivers from database.php config? - by elijahlofgren - 04-28-2015, 05:16 AM
|