ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:connection_matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:database:connection_matrix [2016/04/17 22:26] mnewnhamv5:database:connection_matrix [2019/12/29 21:31] (current) – [Table] mnewnham
Line 3: Line 3:
 Common connection parameters, by database type Common connection parameters, by database type
  
-^                                                   ^ Parameter 1                                                                            ^ Parameter 2                                      ^ Parameter 3                                          ^ Parameter 4                                            ^ Verified  +^                                                   ^ Parameter 1                                                                            ^ Parameter 2                                          ^ Parameter 3                                           ^ Parameter 4                                            ^ Verified                      
-| Legacy Name                                       | Host Name                                                                              | User ID                                          | Password                                             | Database Name                                          |           +| Legacy Name                                       | Host Name                                                                              | User ID                                              | Password                                              | Database Name                                          |                               
-| [[v5:database:access]]                            | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                             | NULL                                                 | NULL                                                    Yes      | +| [[v5:database:access]]                            | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                                 | NULL                                                  | NULL                                                    Yes                          
-| [[v5:database:ADO]]                                                                                                                      |                                                  |                                                      |                                                        |           +| [[v5:database:firebird|Firebird/Interbase]]       | protocol:/path/to/database                                                             | User ID                                              | Password                                              | NULL                                                    Yes                          
-| [[v5:database:firebird|Firebird/Interbase]]       | protocol:/path/to/database                                                             | User ID                                          | Password                                             | NULL                                                    Yes      | +| [[v5:database:IBM DB2]]                           | Service Name((Or DSN connection string))                                               | User Id                                              | Password                                              | Instance((Leave empty when using DSN))                  Yes                          | 
-| [[v5:database:Frontbase]]                                                                                                                |                                                  |                                                      |                                                        |           +| [[v5:database:Microsoft SQL Server]]              | Service Name((Or DSN connection string))                                               | User Id                                              | Password                                              | Database Name                                          |  Yes                          
-| [[v5:database:IBM DB2]]                           | Service Name((Or DSN connection string))                                               | User Id                                          | Password                                             | Instance((Leave empty when using DSN))                  Yes      | +| [[v5:database:MySQL]]                             | Host Name((optional port via ** :xxxx**, or DSN connection string))                    | User Id                                              | Password                                              | Database Name                                          |  Yes                          
-| [[v5:database:Informix]]                          |                                                                                        |                                                  |                                                      |                                                        |           +| [[v5:database:ODBC]]                              | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                                 | NULL                                                  | NULL                                                    Yes                          
-| [[v5:database:Microsoft SQL Server]]              | Service Name((Or DSN connection string))                                               | User Id                                          | Password                                             | Database Name                                          |  Yes      +| [[v5:database:Oracle]]                            | Host Name                                                                              | User Id                                              | Password                                              | Instance                                                Yes                          
-| [[v5:database:MySQL]]                             | Host Name((optional port via ** :xxxx**, or DSN connection string))                    | User Id                                          | Password                                             | Database Name                                          |  Yes      +| [[v5:database:pdo|PDO (PHP Data Objects)]]        | Database Type + ':' DSN String                                                       | User Id ((Or may be NULL if set in the DSN string))  | Password ((Or may be NULL if set in the DSN string))  | Database Name ((Or may be NULL if set in DSN string))  |  Yes ((mysql & Sqlite only))  
-| [[v5:database:ODBC]]                              | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                             | NULL                                                 | NULL                                                    Yes      | +| [[v5:database:Postgresql]]                        | Host Name((Leave as NULL to connect via a socket, or connection string - see driver))  | User Id                                              | Password                                              | Database Name                                          |                               
-| [[v5:database:ODBTP]]                             | See Driver For Examples                                                                |                                                  |                                                      |                                                        |           +| [[v5:database:Sqlite|SQLite]]                     | /path/to/database                                                                      | NULL                                                 | NULL                                                  | NULL                                                    Yes                          
-| [[v5:database:Oracle]]                            | Host Name                                                                              | User Id                                          | Password                                             | Instance                                                Yes      +| [[v5:database:sqlite|SQLite In Memory Database]]  |  ':memory:'                                                                            | NULL                                                 | NULL                                                  | NULL                                                    Yes                          |
-| [[v5:database:pdo|PDO (PHP Data Objects)]]        | Database Type + ':' DSN connection parameter                                           | User Id ((Or may be NULL if set in the DSN string))  | Password ((Or may be NULL if set in the DSN string))  | Database Name ((Or may be NULL if set in DSN string))  |  Yes ((mysql & Sqlite only))         +
-| [[v5:database:Postgresql]]                        | Host Name((Leave as NULL to connect via a socket, or connection string - see driver))  | User Id                                          | Password                                             | Database Name                                          |           | +
-| [[v5:database:SAP_ASE]]                           | Host Name                                                                              | User Id                                          | Password                                             | Database Name                                          |           | +
-| [[v5:database:sap_maxdb|SAP MaxDB]]               | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                             | NULL                                                 | NULL                                                             | +
-| [[v5:database:sap_sqlanywhere|SAP SQLanywhere]]   | ODBC DSN((pre-defined in ODBC Manager))                                                | NULL                                             | NULL                                                 | NULL                                                             +
-| [[v5:database:Sqlite|SQLite]]                     | /path/to/database                                                                      | NULL                                             | NULL                                                 | NULL                                                    Yes      +
-| [[v5:database:sqlite|SQLite In Memory Database]]  |  ':memory:'                                                                            | NULL                                             | NULL                                                 | NULL                                                    Yes      | +
-| [[v5:database:Visual Foxpro]]                                                                                                            |                                                  |                                                      |                                                        |           |+
v5/database/connection_matrix.txt · Last modified: 2019/12/29 21:31 by mnewnham