Common connection parameters, by database type
The same convention applies when using the ADOConnectionDefinitions::dbParameters array, where the array elements are named in order
host, user, password, database
| Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 | Verified | |
|---|---|---|---|---|---|
| Legacy Name | Host Name | User ID | Password | Database Name | |
| Firebird/Interbase | protocol:/path/to/database | User ID | Password | NULL | Yes |
| IBM DB2 | Service Name1) | User Id | Password | Instance2) | Yes |
| Microsoft SQL Server | Service Name3) | User Id | Password | Database Name | Yes |
| MySQL | Host Name4) | User Id | Password | Database Name | Yes |
| Oracle | Host Name | User Id | Password | Instance | Yes |
| PDO (PHP Data Objects) | DSN Connection String | User Id 5) | Password 6) | Database Name 7) | Yes 8) |
| PostgreSQL | Host Name9) | User Id | Password | Database Name | |
| SQLite | /path/to/database | NULL | NULL | NULL | Yes |
| SQLite In Memory Database | ':memory:' | NULL | NULL | NULL | Yes |