How to connect to Oracle 11g database remotely

前端 未结 6 1642
孤独总比滥情好
孤独总比滥情好 2020-12-09 09:41

I have Oracle 11g XE installed on computer A. I can connect through the sql command line using the command connect username/password. I also can send SQL instru

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 10:25

    # . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh  
    
    #  sqlplus /nolog  
    
    SQL> connect sys/password as sysdba                                           
    
    SQL>  EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);  
    
    SQL> CONNECT sys/password@hostname:1521 as sysdba
    

提交回复
热议问题