Query: pdo_firebird-dsn
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PDO_FIREBIRD-DSN(3) 1 PDO_FIREBIRD-DSN(3) PDO_FIREBIRD DSN - Connecting to Firebird databases The PDO_FIREBIRD Data Source Name (DSN) is composed of the following elements: o DSN prefix - The DSN prefix is firebird:. o dbname - The name of the database. o charset - The character set. o role - The SQL role name. Example #1 PDO_FIREBIRD DSN example with path The following example shows a PDO_FIREBIRD DSN for connecting to Firebird databases: firebird:dbname=/path/to/DATABASE.FDB Example #2 PDO_FIREBIRD DSN example with port and path The following example shows a PDO_FIREBIRD DSN for connecting to a Firebird database using hostname port and path: firebird:dbname=hostname/port:/path/to/DATABASE.FDB Example #3 PDO_FIREBIRD DSN example with localhost and path to employee.fdb on Debian system The following example shows a PDO_FIREBIRD DSN for connecting to a Firebird database employee.fdb using localhost: firebird:dbname=localhost:/var/lib/firebird/2.5/data/employee.fdb PHP Documentation Group PDO_FIREBIRD-DSN(3)