dimanche 20 novembre 2016

Laravel - Failed oci8 connection to Oracle 10g database but success with 11g

I have a laravel 5.1 which use Oracle Instant Client 11.2 and Using yajra/laravel-oci8 to connection to Oracle Server. My development work fine with Oracle 11g .

But we when try to connect to production serve which is oracle 10g. It failed. When I use Oracle SQL Developer application, I can connect to both database. So now I cannot migrate my application to production.

The error from laravel is ORA-12505: TNS:listener does not currently know of SID given in connect descriptor

Appreciate any suggestion



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire