easy connect
CONNECT username/[email protected]/service_name
驗證後面帶的是service_name,而不是SID
[[email protected] ~]$ ps -ef | grep smon
oracle 18866 1 0 Jul10 ? 00:00:01 ora_smon_orcl
oracle 27967 23120 0 12:49 pts/0 00:00:00 grep smon
[[email protected] ~]$ sysresv
IPC Resources for ORACLE_SID "orcl" :
Shared Memory:
ID KEY
4489220 0x6fe60f10
Semaphores:
ID KEY
16580609 0x7b8d3258
16613378 0x7b8d3259
16646147 0x7b8d325a
16678916 0x7b8d325b
16711685 0x7b8d325c
16744454 0x7b8d325d
16777223 0x7b8d325e
16809992 0x7b8d325f
16842761 0x7b8d3260
Oracle Instance alive for sid "orcl"
[ [email protected] ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 11 12:50:04 2014
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string jhoa
C:\>sqlplus test/ [email protected]5.129.243/jhoa
SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 7月 11 12:35:55 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
連線到:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
C:\>sqlplus test/ [email protected]/orcl
SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 7月 11 12:36:11 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS: 監聽程式當前無法識別連線描述符中請求的服務
請輸入使用者名稱:
在RAC環境中:比如devrac1 devrac2 但是service_name為
ora.devrac.devrun1.svc
1 ONLINE ONLINE devrac1
ora.devrac.devrun2.svc
1 ONLINE ONLINE devrac2
節點1:
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string devrun1
節點2:
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string devrun2
可以連線的方式為:
sqlplus test/[email protected]/devrac
sqlplus test/[email protected]/devrun1
相關推薦
easy connect
CONNECT username/[email protected]/service_name 驗證後面帶的是service_name,而不是SID [[email protected] ~]$ ps -ef | grep smon oracle
Amazon Connect – So Easy an Eight-Year-Old Can Use It
Contact centers can be tough to integrate with, maintain, and manage. Amazon Connect is a cloud contact center service, which simplifies the conta
LR回放https協議腳本失敗:[GENERAL_MSG_CAT_SSL_ERROR]connect to host "XXX" failed:[10054] Connection reset by peer [MsgId:MERR-27780]
網絡連接 advance sgid 服務器 vuser con run load sgi 最近做一個負載均衡項目的性能測試,使用LR錄制腳本協議為https協議,回放腳本時出現報錯: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "
連接Mysql提示Can’t connect to local MySQL server through socket的解決方法
127.0.0.1 方式 mic div conn 三種 問題 ati my.cnf 轉:http://aiezu.com/article/mysql_cant_connect_through_socket.html 有時候,當我們使用“mysql”、“mysqladmin
Qt音樂播放器制作(二)Easy Player
滾動 支持 是個 blog 音樂 音樂播放器 div iss size 兩天沒有公布新的動態。主要原因還是個人的生活和工作時間限制,如今趕晚貼出第二版。先放個圖: 自上次公布第一個版本號以來,又進行了多次改動,主要變化在於: (1)依照上次的計劃又一次設計了界面
[ACM] POJ 3740 Easy Finding (DFS)
cas oss miss 矩陣 org fin contest std size Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16202 Accepted: 4349
基於UDT connect連接通信以及文件傳輸--客戶端
文章 pan detail break fin 文件名 plain mes oca 上面一篇文章中提出了服務端的,其實這裏沒有嚴格意義的服務端和客戶端之分,因為我在代碼中是基於UDP的,不存在服務端與客戶端,兩個都是對等的,只是我這裏進行一下簡單的區分而已。在這裏,客戶端所
基於UDT connect連接通信以及文件傳輸--服務端
title set max 能夠 def htons 基於 bre 源代碼下載 網上與UDT相關的資料不多,與UDT相關的源碼例子更少。最近在接觸UDT,也是因為缺少相關的資料,導致學習起來甚感痛苦。下面將我自己這兩天弄出來的代碼貼出來,希望對在尋找相關資料的童鞋有一定的幫
ORA-00257: archiver error. Connect internal only, until freed 錯誤的處理方法
oracle ora00257 archivelog 磁盤空間已滿 解決辦法ORA-00257: archiver error. Connect internal only, until freed 錯誤的處理方法oracle數據庫做了實時同步功能,同步必須要打開歸檔日誌功能1. 用sys用戶登錄 s
aSmack連接server異常smack.SmackException$ ConnectionException thrown by XMPPConnection.connect();
host base isa set 失敗 nconf $0 main sof 以下是我在研究asmack4.0出現的異常 06-17 12:02:56.924: W/System.err(10622): org.jivesoftware.smack.SmackExc
解決openstack “failed to connect to server (code: 1006)”故障一例
code: 1006 failed 控制臺 新建 openstack版本環境:ocata安裝完成ocata版本後,新建主機實例後,通過管理端進入主機實例的控制臺時,報錯:“failed to connect to server (code: 1006)”解決思路:1、檢查日誌文件,通過日誌尋找
【POJ3740】Easy Finding DLX(Dancing Links)精確覆蓋問題
ren .cn string 應該 進行 int 函數 操作 urn 題意:多組數據。每組數據給你幾行數,要求選出當中幾行,使得每一列都有且僅有一個1,詢問是可不可行,或者說能不能找出來。 題解:1、暴搜。2、DLX(Dancing links)。 本文寫的是DLX。算
Easy sssp(spfa)
long long empty define lan true 超時 cnblogs space har vijos 1053 Easy sssp 方法:用spfa判斷是否存在負環 描述 輸入數據給出一個有N(2 <= N <= 1,000)個
Leetcode--easy系列10
height per ive bsp weight itself val rtt sizeof #205 Isomorphic Strings Given two strings s and t, determine if they are isomorphic.
176. Second Highest Salary(Easy)
tco targe query rip con -s second count rom Source of the question Write a SQL query to get the second highest salary from the Employee t
595. Big Countries (Easy)
bsp pre and where eas country lee ont targe Source: https://leetcode.com/problems/big-countries/#/descriptionDescription: There is a tab
JavaSE 最easy出錯的幾個簡單的問題
成員 tde bsp ase log package 標識 多次 年齡 案例1. package cn.itcast.oop; public class ThisDemo { public static void main(String[] args) { S
LeetCode 561. Array Partition I(easy難度c++)
return 可能 hid 使用 ide 復雜度 wid () ger 題目: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say
貪心算法 Heidi and Library (easy)
define con mit 最長 state dex bre algo == A. Heidi and Library (easy) time limit per test 2 seconds memory limit per test 256 megab
Oracle start with connect by prior... 遞歸查詢
span into mage create level 結構 最終 1-1 pre start with connect by prior 主要是用於B樹結構類型的數據遞歸查詢,給出B樹結構類型中的任意一個節點,遍歷其最終父節點或者子節點。 -- create table