PDO_OCI DSNConnecting to Oracle databases DescriptionThe PDO_OCI Data Source Name (DSN) is composed of the following elements:
Examples
Example #1 PDO_OCI DSN examples The following examples show a PDO_OCI DSN for connecting to Oracle databases: // Connect to a database defined in tnsnames.ora oci:dbname=mydb // Connect using the Oracle Instant Client oci:dbname=//localhost:1521/mydb |