Skip to content

Latest commit

 

History

History
227 lines (125 loc) · 9.29 KB

README.md

File metadata and controls

227 lines (125 loc) · 9.29 KB

Oracle 19c & SQL Developer Install

Oracle 19c with SQL Developer Download and Installation Guide

Download the Required Files

Download Oracle 19c:

  • The Link of the Download Page: Click Here.

  • In that Page Click the highlighted Link [if you are using windows]

1

  • If you got this dialog box click Download WINDOWS.X64_193000_db_home.zip

2

- You should have an account on oracle [Create One if you don't :)]
  • Now you may be forwarded to the sign in page, Sign in and the Download will start automatically.

Download SQL Developer:

  • The Link of the Download Page: Click Here.

  • In that Page Click the highlighted Link [if you are using windows], and you'll find your version for other operating Systems below. 3

  • If you got this dialog box click Download Button and the Download will start automatically. 4

Installation

Setting Up Orcale 19c

Important: You should Have an internet connection to get this DONE!
  • First You Should have this tow Files on your machine, Then Follow the following instructions:

    image

  • Go to your C Drive and create new folder with name app.

    image

  • Inside app folder, Extract the WINDOWS.X64_193000_db_home.zip file into db_home folder.

    image

  • After extracting is complete, Run the Setup.exe

    image

  • The Setup will start launching, just wait.

    image

  • Now choose the same settings in the ScreenShots below and click next every time..

    image

    image

    image

  • Now The screen below is very important, Check these out:

    • Oracle Home: C:\app, as Default.
    • Database file location: C:\app\oradata, as Default.
    • Global database name: orcl, this could be something else by Default, Make Sure to change it to orcl.
    • Password: Set it any Password you want, such as 111 or 000, But remember it.
    • Confirm password: just repeat your password.
    • Check on Create as Container database.
    • Plugguble database name: orclpdb.
    • Then click next.

    image

    As you see down in Messages Section, it shows that the password is weak, just do not worry.
  • It shows that the password is weak, Don't Care, Click Yes.

    image

  • Now Click Install.

    image

  • If this Window popped up, just click Allow access, and wait until the installation finishes.

    image

  • Now to test the database is successfully installed or not, just copy the highlighted link and click close.

    image

  • then paste it into the browser and log in as:

    • Username: sys.
    • Password: the password you created while setup, "in my case 111".

    image

  • That should shows this Dashboard. image

Setting Up SQL Developer

  • First go to this path C:\app\db_home\network\admin and open tnsnames.ora file with Notepad.

    image

  • Copy this selected part and paste it below it directly.

    image

  • Edit ORCL words to ORCLPDB as following. image

    image

  • Save the file with Ctrl + S, and close it.

  • Open Command Prompt (CMD), By searching for it, Or press Windows logo + R in the Keyboard and type cmd, then click OK.

    image

  • Type sqlplus and hit Enter.

    image

  • Type / as sysdba in the user-name field and hit Enter.

    image

  • OR type sys as sysdba in the user-name field and hit Enter, then type your password [111 in my case] and hit Enter.

    (: Don't Worry, The password will not appear while typing..
  • Type alter session set container = orclpdb; to change the container database to 'orclpdb', and hit Enter.

    image

  • Type alter user hr identified by hr account unlock; to unlock the hr database user, and hit Enter.

    image

  • If you faced any problem here type startup; and try again.

  • Type conn hr/hr@orclpdb; to Connect to the hr user that has hr password, and hit Enter.

    image

  • Type alter pluggable database orclpdb save state; to save the pluggable database state, and hit Enter.

    image

  • Commands Summary:
    sqlplus / as sysdba
    alter session set container = orclpdb;
    alter user hr identified by hr account unlock;
    conn hr/hr@orclpdb;
    alter pluggable database orclpdb save state;
    

  • Back to the second .ZIP file.

    image

  • Extract it into the app folder.

    image

  • Inside the extracted sqldeveloper folder, go down to sqldeveloper.exe, right click on it and send it to the desktop "as a shortcut".

    image

  • Run the sqldeveloper from your desktop shortcut.

    image

  • From the left up corner click the green + sign to ad a connection.

    image

  • In this Window the Name, Username and Password are hr, then Check the Service name and set it to orclpdb.

    Untitled

  • Click Test Button and it should be Status: Success showed in bottom-left of the window.

    image

  • Then click Connect Button.

    image

  • Here you can write SQL Commands and Run it using the green run Button on the top toolbar.

    image

Authors

Good Luck!