Closed scottchiefbaker closed 4 years ago
Sorry for overlooking this. Will try to implement this when I got the chance but if you can, please do not hesitate to submit a PR. Thanks!
With https://github.com/yajra/pdo-via-oci8/pull/72 been merged, this issue may be closed?
I'm attempting to use this library and I ran in to a snag with the DSN. The documentation doesn't mention what the DSN syntax for OCI is, so I had to guess. Looking through the code I found a sample DSN but that's not the most intuitive way to figure out the solution.
I believe the library should be updated to handle more standard DSN connection strings in addition to the OCI specific string it already understands. From the various PHP PDO documentation pages I found the following DSN strings:
This format could be easily parsed out, and support for both types of DSNs could be obtained.
Alternately, modifying the README to include a sample DSN and connect string would be very helpful.