Jcat
          寵辱不驚,閑看庭前花開花落~~
          posts - 173,comments - 67,trackbacks - 0

          >sqlplus /nolog????????????? Just startup SQL*PLUS but haven't connected to DB

          >sqlplus / as sysdba????? Use os authentication

          >sqlplus user/pwd???????? Use db authentication


          SQL>startup????????????????? Startup Oracle service (should startup TNSListener at first)

          SQL>shutdown

          SQL>connect user/pwd??????????????????????? Local connection

          SQL>connect user/pwd@host:1521?? ?Remote connection *1* *2* *3*

          SQL>connect system/pwd?????????????????? The pwd is the SYSTEM password that you set upon installation?of Oracle Database XE.


          >lsnrctl status?????????????? View listener status

          >lsnrctl start

          >lsnrctl stop

          >lsnrctl reload

          >lsnrctl services


          >emctl start dbconsole??

          >emctl start agent?????? start up the EM Grid Control facility

          >isqlplusctl start???????? start up the iSQL*Plus server

          Note
          *1* Logging in to the Oracle Database XE host computer with an ssh (or telnet ) session and then starting SQL Command Line (or other Oracle command-line utility) is considered a local connection, even though you start the ssh (or telnet ) application on a remote computer.

          *2* The remote computer must have Oracle client software installed.

          *3* Only Oracle Database XE Client supports the notion of a default database service. If you connect remotely from any Oracle client software other than Oracle Database XE Client, you must include the XE service name.


          ?

          posted on 2006-07-09 11:18 Jcat 閱讀(420) 評論(0)  編輯  收藏 所屬分類: Database
          主站蜘蛛池模板: 大渡口区| 瓮安县| 钦州市| 库车县| 左权县| 郧西县| 临汾市| 衡山县| 砀山县| 合江县| 盈江县| 育儿| 凤阳县| 太康县| 合川市| 高州市| 巴东县| 黄山市| 肥东县| 成安县| 前郭尔| 沙河市| 纳雍县| 济宁市| 福安市| 连城县| 台东市| 沾化县| 中超| 沐川县| 固安县| 资源县| 景宁| 绥滨县| 卫辉市| 田阳县| 布拖县| 贵港市| 富源县| 凤庆县| 宝兴县|