diff --git a/application/config/db.php b/application/config/db.php index de245564..d8109118 100644 --- a/application/config/db.php +++ b/application/config/db.php @@ -9,8 +9,8 @@ return array( | | The name of your default database connection. | - | This connection will be used by default for all database operations - | unless a different connection is specified when performing the operation. + | This connection will be the default for all database operations unless a + | different connection is specified when performing the operation. | */ @@ -21,13 +21,26 @@ return array( | Database Connections |-------------------------------------------------------------------------- | - | Here you can define all of the databases used by your application. + | All of the database connections used by your application. | | Supported Drivers: 'mysql', 'pgsql', 'sqlite'. | | Note: When using the SQLite driver, the path and "sqlite" extention will | be added automatically. You only need to specify the database name. | + | Using a driver that isn't supported? You can still establish a PDO + | connection. Simply specify a driver and DSN option: + | + | 'odbc' => array( + | 'driver' => 'odbc', + | 'dsn' => 'your-dsn', + | 'username' => 'username', + | 'password' => 'password', + | ) + | + | Note: When using an unsupported driver, Eloquent and the fluent query + | builder may not work as expected. + | */ 'connections' => array(