sqlplus remote connection giving ORA-21561

前端 未结 6 2110
孤街浪徒
孤街浪徒 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:29

    If you are using Mac add local computer name to your 127.0.0.1 in /etc/hosts

    It will be like

    127.0.0.1       localhost 
    

    Way to find local computer name

    System Preferences>Sharing(search for it if you cant find) on the top you can see your local computer name

    or you can use "hostname" command to get local computer name

提交回复
热议问题