Giter VIP home page Giter VIP logo

Comments (4)

yajra avatar yajra commented on July 17, 2024

double check your SID.

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a SID for an instance (usually a database instance) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:

  • Wait a moment and try to connect a second time.
  • Check which instances are currently known by the listener by executing: lsnrctl services
  • Check that the SID parameter in the connect descriptor specifies an instance known by the listener.
  • Check for an event in the listener.log file.

from laravel-oci8.

AnowarCST avatar AnowarCST commented on July 17, 2024

I was install a oracle 11g client in my local PC to connect Oracle server (by IP).
It is connected & working fine with CodeIgniter Framework. But I'm fail to connect with Laravel.

as you tell:
I don't know about this listener & there (client) have no option to create listener. How can i config this listener?
[Thanks for your kind reply & sorry for late.]

from laravel-oci8.

yajra avatar yajra commented on July 17, 2024

Oracle listener would need to be setup of the database server.

On the other hand, If it works on Codeigniter, then there must be something that we are missing. Can you check if you have the correct SID (case sensitive) as per issue #19

from laravel-oci8.

uqcgreen avatar uqcgreen commented on July 17, 2024

In case it helps anyone, this error can be a result of not adding the "service_name" key to the connection array.

For a discussion on SIDs vs service names:
http://stackoverflow.com/questions/43866/how-sid-is-different-from-service-name-in-oracle-tnsnames-ora

from laravel-oci8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.