oracle安裝好了后,可運(yùn)行的應(yīng)用程序有sqlplus等。
成都創(chuàng)新互聯(lián)是網(wǎng)站建設(shè)技術(shù)企業(yè),為成都企業(yè)提供專(zhuān)業(yè)的成都網(wǎng)站設(shè)計(jì)、網(wǎng)站建設(shè),網(wǎng)站設(shè)計(jì),網(wǎng)站制作,網(wǎng)站改版等技術(shù)服務(wù)。擁有十余年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制適合企業(yè)的網(wǎng)站。十余年品質(zhì),值得信賴(lài)!
工具:oracle 10g,windows 10
步驟:
1、ctrl+R后,輸入cmd,打開(kāi)命令提示符。
2、輸入命令:
sqlplus 用戶(hù)名/密碼@sid
3、然后敲回車(chē)鍵,就能登錄到oracle了。
如果你使用界面的話(huà),就直接雙擊圖標(biāo),如果使用腳本的話(huà),就從開(kāi)始程序里打開(kāi)Oracle plus
,這兩者都要保證你的服務(wù)是否啟動(dòng),一般啟動(dòng)最后兩個(gè)就可以
1、打開(kāi)命令行窗口界面,可以同時(shí)按住逗ctrl+R地鍵,在彈出來(lái)的運(yùn)行窗口中輸入cmd。2、啟動(dòng)oracle服務(wù),在命令行窗口中輸入逗netstartoracleserviceXXXX地后面的XXXX實(shí)際是需要根據(jù)您自己的數(shù)據(jù)庫(kù)實(shí)例名進(jìn)行替換。如果您不知道,可以看下逗計(jì)算機(jī)管理地界面下的服務(wù)中,能不能找到服務(wù)名類(lèi)似的服務(wù)。提示逗服務(wù)已經(jīng)啟動(dòng)成功地就說(shuō)明服務(wù)啟動(dòng)起來(lái)了。3、啟動(dòng)監(jiān)聽(tīng)程序,在命令行窗口輸入lsnrctlstart,等到提示逗命令執(zhí)行成功地就可以了。4、接下來(lái)就開(kāi)始加載數(shù)據(jù)庫(kù)實(shí)例了。在命令行窗口輸入逗sqlplus/assysdba地登錄到一個(gè)空閑的例程。5、登錄完成后,輸入逗startup地。這個(gè)過(guò)程可能有點(diǎn)慢,直到出現(xiàn)逗數(shù)據(jù)庫(kù)已經(jīng)打開(kāi)地則表示實(shí)例啟動(dòng)成功了。6、測(cè)試一下把,隨便連接一個(gè)數(shù)據(jù)庫(kù)用戶(hù),如果提示逗連接成功地則說(shuō)明數(shù)據(jù)庫(kù)服務(wù)現(xiàn)在可以正常使用了。注意事項(xiàng)如果操作過(guò)程中提示逗監(jiān)聽(tīng)已經(jīng)啟動(dòng)地,逗服務(wù)已經(jīng)運(yùn)行地等,則可以跳過(guò)相應(yīng)步驟,繼續(xù)執(zhí)行。
用上次的完全備份+日志文件+重做日志文件+控制文件做以下恢復(fù),可以解決。
ORA-03113 end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two task, software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client's connection to the database is terminated without waiting for the client to issue a request.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
oracle是數(shù)據(jù)庫(kù)服務(wù)器軟件,并不能用來(lái)打開(kāi)cvs。
用dbca命令創(chuàng)建數(shù)據(jù)庫(kù)實(shí)例,創(chuàng)建監(jiān)聽(tīng)程序,然后就可以用sqlplus或者plsql等客戶(hù)端訪(fǎng)問(wèn)數(shù)據(jù)庫(kù)??梢越ū?、建視圖等創(chuàng)建oracle對(duì)象。
安裝兩次會(huì)生成2個(gè)oracle的安裝目錄,兩個(gè)都可以用。
步驟1:打開(kāi)企業(yè)管理器,如下。步驟2:選擇數(shù)據(jù)庫(kù),安全性,點(diǎn)擊新建鏈接服務(wù)器。步驟3:選擇鏈接服務(wù)器屬性,常規(guī),輸入名稱(chēng):TEST,選擇ORACLE數(shù)據(jù)庫(kù)提供程序,輸入名稱(chēng)、數(shù)據(jù)源。步驟4:進(jìn)行安全性設(shè)置。本地登錄,選擇SQLServer數(shù)據(jù)庫(kù)登錄用戶(hù),遠(yuǎn)程登錄用戶(hù)和密碼,輸入遠(yuǎn)程連接數(shù)據(jù)庫(kù)的用戶(hù)和密碼,選擇用此安全上下文進(jìn)行,輸入遠(yuǎn)程登錄用戶(hù)和密碼。5步驟5:點(diǎn)擊TEST鏈接服務(wù)器下的表,我們可以訪(fǎng)問(wèn)ORACLE數(shù)據(jù)庫(kù)的表了。注意:產(chǎn)品名稱(chēng)要和所鏈接的服務(wù)器相對(duì)應(yīng),使用ORACLE數(shù)據(jù)庫(kù)就要輸入ORACLE,使用SQLServer就輸入SQLServer。