The PDO_INFORMIX Data Source Name (DSN) is based on the Informix ODBC DSN string. Details on configuring an Informix ODBC DSN are available from the Informix Dynamic Server Information Center. The major components of the PDO_INFORMIX DSN are:
The DSN prefix is informix:.
The DSN can be either a data source setup using odbc.ini or a complete connection string.
Example 2. PDO_INFORMIX DSN example using a connection string The following example shows a PDO_INFORMIX DSN for connecting to an Informix database named common_db using the Informix connection string syntax.
|