Oracle TNS: net service name is incorrecly specified

后端 未结 7 1174
别跟我提以往
别跟我提以往 2021-02-12 14:50

Help! I\'m a newbie to Oracle who\'s trying to access a database on an old server we inherited for a client.

I\'m confident I have the oracle database and listener start

7条回答
  •  眼角桃花
    2021-02-12 15:10

    Dave Costa has presented you with 2 important question. Are you trying to connect via net8 or locally via extproc? Is the listener on the local machine(127.0.0.1 -- loop back device) setup for extproc connection?

    To use the net8 or tcp connection protocol, you need to specify user/pw@tns_alias. To connect locally via extproc you should specify the oracle_sid parameter and then connect via name/pw.

    I also notice the tnsalias has the .world domain appended to it, but the sqlnet.ora file does not contain a reference to NAMES.DEFAULT_DOMAIN as being "world".

    Also what is the env parameter for TNS_ADMIN? Make sure your tools are looking at the correct tnsnames.ora file. Too many time people modify one tnsnames.ora and the programs/software is looking at another.

提交回复
热议问题