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 閱讀(417) 評(píng)論(0)  編輯  收藏 所屬分類: Database
          主站蜘蛛池模板: 应城市| 九龙城区| 安龙县| 静安区| 古蔺县| 曲靖市| 东光县| 洪泽县| 汤原县| 淮阳县| 绍兴市| 乐平市| 西青区| 修文县| 高要市| 青浦区| 南投县| 普定县| 海阳市| 泽普县| 团风县| 怀柔区| 津市市| 磐石市| 平塘县| 三明市| 德昌县| 财经| 沾化县| 凤山市| 东丽区| 和林格尔县| 体育| 阿拉善盟| 余姚市| 弋阳县| 六安市| 东乡县| 鞍山市| 景谷| 柞水县|