Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- GIT
- port
- 단축키
- profile
- maVen
- Quartz
- Windows 10
- Windows
- Eclipse
- Mac
- find
- tomcat
- resource
- Source
- bash
- VirtualBox
- lsof
- JavaScript
- 네트워크
- vscode
- plugin
- netsh
- ssh
- context
- 줄바꿈 문자
- xargs
- IntelliJ
- grep
- web.xml
- import
Archives
- Today
- Total
develog
[oracle] SID / Service Name 접속시 차이 (sqlplus, jdbc) 본문
sqlplus 로 연결
# SID 로 연결시 ( :SID )
sqlplus username/password@127.0.0.1:1521:orcl
# Service Name 으로 연결시 ( /ServiceName )
sqlplus username/password@127.0.0.1:1521/orcl
jdbc 로 연결
# SID 로 연결시 ( @hostname, :SID )
jdbc:oracle:thin:@127.0.0.1:1521:ORCL
# ServiceName 으로 연결시 ( @//hostname, /ServiceName )
jdbc:oracle:thin:@//127.0.0.1:1521/ORCL