# Oracle安裝 ## 安裝環境 ### 1.到官網安裝 19c https://www.oracle.com/database/technologies/oracle19c-windows-downloads.html  ### 2.解壓縮執行setup.exe (記得開啟管理者權限)  ### 3.安裝oracle 本地已經安裝過用網路圖片代替)         ### 4.安裝DB 4.1啟動dbca開啟cmd(管理者權限)輸入 dbca  4.2 安裝DB (本機安裝過以下使用網路圖片)                  ### 5.測試安裝成功 開始 CMD 輸入 sqlplus as sysdba有出現以下就代表安裝成功  ### 6.開啟oracle服務 查看服務有沒有啟動,如果沒有手動啟動  ### 7.建立帳號 7.1 打開CMD輸入 `sqlplus sys as sysdba`  7.2建立user `create user username identified by pwd;` username 跟 pwd 自行帶入  7.3解除封鎖 `alter user username account unlock;`  7.4授予 user權限 `grant create session to username` `grant dba to tcmp`  ### 8.連線  ### 9.圖片來源 https://www.modb.pro/db/38320
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.