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 閱讀(418) 評論(0)  編輯  收藏 所屬分類: Database
          主站蜘蛛池模板: 石景山区| 永登县| 镇平县| 澄江县| 铜陵市| 仁寿县| 股票| 馆陶县| 繁峙县| 溧阳市| 汾西县| 闸北区| 呼和浩特市| 棋牌| 措勤县| 大新县| 扶余县| 迭部县| 建昌县| 万山特区| 天镇县| 华容县| 马关县| 德州市| 中卫市| 新闻| 汝州市| 邓州市| 中山市| 永福县| 蓝田县| 仪陇县| 镇雄县| 乐至县| 从化市| 嘉禾县| 忻州市| 洛浦县| 咸丰县| 滨州市| 调兵山市|