How to create a new database after initally installing oracle database 11g Express Edition?

后端 未结 5 1551
别那么骄傲
别那么骄傲 2020-12-04 06:32

I have installed Oracle Database 11g Express Edition on my pc (windows 7) and I have installed Oracle SQL Developer as well.

I want to create a simple database to s

5条回答
  •  一整个雨季
    2020-12-04 07:18

    If you wish to create a new schema in XE, you need to create an USER and assign its privileges. Follow these steps:

    • Open the SQL*Plus Command-line
    SQL> connect sys as sysdba
    
    • Enter the password
    SQL> CREATE USER myschema IDENTIFIED BY Hga&dshja;
    SQL> ALTER USER myschema QUOTA unlimited ON SYSTEM;
    SQL> GRANT CREATE SESSION, CONNECT, RESOURCE, DBA TO myschema;
    SQL> GRANT ALL PRIVILEGES TO myschema;
    

    Now you can connect via Oracle SQL Developer and create your tables.

提交回复
热议问题