PDO_FIREBIRD DSN

(PECL PDO_FIREBIRD >= 0.1.0)

PDO_FIREBIRD DSNConnecting to Firebird and Interbase databases

Beskrivelse

The PDO_FIREBIRD Data Source Name (DSN) is composed of the following elements:

DSN prefix

The DSN prefix is firebird:.

dbname

The name of the database.

charset

The character set.

role

The SQL role name.

Eksempler

Eksempel #1 PDO_FIREBIRD DSN examples

The following example shows a PDO_FIREBIRD DSN for connecting to Firebird and Interbase databases:

firebird:dbname=DATABASE.GDE

add a note add a note

User Contributed Notes 1 note

up
1
jaune dot loke at gmail dot com
4 years ago
This is my example :

firebird:dbname=127.0.0.1:D:/PATH/DBNAME.FDB;charset:ISO8859_1,SYSDBA,masterkey
To Top