Problem with creating new Database in Oracle Express Edition.
Platform: Ubuntu 12
Oracle : 10g Express edition
I am trying to create a new database in oracle and I took the help of Oracle Docs to achieve that.
I was successful in creating the 'Initialization Parameter File' for Database 'mynewdb'. Even, I have changed the environment variable ORACLE_SID
to point to value 'mynewdb'.
The problem is, when I try to connect to database by hitting CONNECT SYS/passwd AS SYSDBA
, it prompted an error saying Insufficient Privileges'. So, I restored the ORACLE_SID variable back to 'XE'.
Now, I logged in with SYSDBA privileges and then I issued 'CREATE DATABASE' command to create the 'mynewdb' database. This time it prompted again an error saying
database name 'MYNEWDB' does not match parameter db_name 'XE'