본문 바로가기
DB/Oracle

[Oracle] JDBC 설치 및 연동, Oracle SQL Developer 설치

by ユーク 2024. 2. 26.

[ Oracle JDBC 설치 및 이클립스에 연동 (ojdbc8.jar)]

 

1) 오라클 개발자 리소스 센터 접속 https://developer.oracle.com/

 

https://developer.oracle.com/

Get Free Tier with no time limits on a selection of Always Free services like Autonomous Database, Compute, and Storage, and US$300 in free credits to try additional cloud services.

developer.oracle.com

 

2) [Downloads] → [Drivers and Utilites] → [JDBC Drivers] 클릭

 

3) Oracle Database 18c에 맞는 JDBC Driver을 설치하기 위해 하단의 [Oracle JDBC Drivers Archive] 클릭

 

4) 지원하는 Oracle Database versions 확인 후 [ojdbc8.jar] 설치

 

5) 이클립스에서 새로운 프로젝트 생성 후 [우클릭] → [Build Path] → [Configure Build Path]

 

6) [Libraries] → [Add External JARs] → 설치 한 "ojdb8.jar" 선택 후 추가


 

[ Oracle SQL Developer 설치 ]

 

1) 오라클 데이터베이스/SQL Developer 사이트 접속 https://developer.oracle.com/

 

https://developer.oracle.com/

Get Free Tier with no time limits on a selection of Always Free services like Autonomous Database, Compute, and Storage, and US$300 in free credits to try additional cloud services.

developer.oracle.com

 

2) [SQL Developer Download] 클릭 후 사양에 맞는 파일 다운로드

* JDK 17가 설치되어 있기 때문에 Windows 32-bit/64-bit(JDK 미포함 버전)를 설치했다.

 

3) 체크 후 설치 (로그인한 사용자만 다운로드 가능)

 

4) 다운로드 한 폴더 압축해제 후 "sqldeveloper.exe"를 실행


 

[ Oracle SQL Developer로 오라클 접속하기 ]

 

1) 접속 아래 + 버튼 클릭 (새로 만들기), 내용 작성 후 [테스트] 클릭하여 상태 확인하기 (성공이라면 접속)

 

* Name : 사용자 임의 지정

* 사용자 이름 : 계정명 (관리자 계정으로 저속 시 sys, system)

* 비밀번호 : 지정한 계정 비밀번호 입력

* 호스트 이름 : IP 주소 입력 (자신의 PC를 사용한다면 localhost가 기본값)

* 포트 : Oracle 기본 포트번호인 1521 입력 (MySQL은 3306)

* SID : 전역 데이터베이스명 입력 

 

2) 접속 완료!

'DB > Oracle' 카테고리의 다른 글

[Oracle] 시퀀스(Sequence) 초기화하기  (0) 2024.03.12