sqlplus remote connection giving ORA-21561

前端 未结 6 2103
孤街浪徒
孤街浪徒 2020-12-09 02:47

I have installed sqlplus based on instruction given here

sqlplus \'username/password@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.100)(PORT=1521))(         


        
6条回答
  •  遥遥无期
    2020-12-09 03:42

    Append the name of your server to the hosts file.

    If your /etc/hosts file looks like this:

    127.0.0.1   localhost localhost.localdomain
    

    It should be changed to:

    127.0.0.1   localhost localhost.localdomain hostname
    

    hostname can be obtained from the command "hostname".

提交回复
热议问题