Connect to Oracle through oracleinstantclient?

livefree75
2013-10-25
2014-03-03
  • livefree75
    livefree75
    2013-10-25

    I have my PHP configured with OracleInstantClient. But when I enter the database information (server, username/password and database) on the Login screen, I get the following error:

    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

    Help?

     
  • John Zornig
    John Zornig
    2013-12-09

    Same problem here.

     
  • grammm
    grammm
    2014-02-26

    You must type in "Server" the database name and it works

     
  • Basil Crayon
    Basil Crayon
    2014-03-03

    It works with "Host/SID" in "Server" field, and nothing in "Database" field.
    You can check your tnsnames.ora for hosts and SID values.