Pascal Data Objects

Oracle Call Interface DSN Options

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

The DSN prefixes is oci

tnsname: The name of a database defined in tnsnames.ora. No other parameter is necessary.
clienturi: The URI for the Oracle Instant Client connection takes the form of hostname:port-number/database

Examples

pdo:oci://tnsname=mydb
pdo:oci://clienturi=localhost:1521/mydb