DATABASE

오라클 DB 환경 구축

초롱씨 2023. 11. 20. 20:51
728x90
반응형

 

 

data base 서버로 오라클을 많이 사용한다. 개발자를 위한 무료버전이 있다고 해서 오라클 환경을 구축해 보았다.

 

저는 21 Express Edition XE을 다운 받았네요

https://www.oracle.com/kr/database/technologies/xe-downloads.html

 

Oracle Database Express Edition (XE) Downloads | Oracle 대한민국

Support Oracle Database Express Edition (XE) is a community supported edition of the Oracle Database family. Please go to the Oracle Database XE Community Support Forum for help, feedback, and enhancement requests. Note: Oracle Support Services only provid

www.oracle.com

 

 

sql developer 23버전라는 최신 버전이 있는데 21 Express Edition XE와 무슨 차이인지 모르겠지만 링크는 같이 첨부하겠습니다.

https://www.oracle.com/database/sqldeveloper/technologies/download/

 

Oracle SQL Developer Downloads

This archive. will work on a 32 or 64 bit Windows OS. The bit level of the JDK you install will determine if it runs as a 32 or 64 bit application. This download does not include the required Oracle Java JDK. You will need to install it if it's not already

www.oracle.com

 

 

 

링크로 오라클 사이트에 접속한 뒤 자신의 환경에 맞는 버전을 다운받는다.

 

그리고 저는 C:\Users\user\OracleXE213_Win64 에 설치해주었습니다.

 

 

 

 

next 를 누르다보면 비밀번호를 입력해야하는데 잃어버리지 않게 12345를 입력했습니다.

 

 

설치 완료 후 CMD 명령프롬프트 실행합니다.

 

 

 

그후 sqlplus "/ as sysdba" 입력합니다. 

접속이 되었다는 메세지가 출력이 되고

 

create user 사용자명 identified by 비밀번호;

오류가 난다면 사용자 명 앞에 c##을 붙여줍니다.

 

 

 

권한도 부여해줍니다.

 

 

 

'+' 버튼을 눌러 새로만들기를 한다.

 

 

 

그러면 데이터 베이스가 생성된다.

728x90
반응형