Follow the instructions below to set up the Oracle database.
...
Code Block |
---|
$ sudo /etc/init.d/oracle-xe restart |
2. Connect to Oracle using SQL*Plus as sysdba.
Code Block |
---|
$ ./${ORACLE_HOME}/config/scripts/sqlplus.sh sysadm/password as sysdba |
2.1. Connect to instance with username and password.
...
Code Block |
---|
Create user USER_NAME identified by PASSWORD account unlock; grant connect to USER_NAME; grant create session, dba to USER_NAME; commit; |
For example,
4. Exit from the SQL*Plus session by typing the "quit" command.
Code Block |
---|
SQL> quit |
Setup Configuration File
1. Edit the default database configuration defined in the master-datasources.xml
file located at $CARBON_HOME/repository/conf/datasources
directory as follows. Both the database configurations in registry.xml
and user-mgt.xml
refer this data source.
Info |
---|
Replace these settings with your own custom values: |
...
Info |
---|
When using the if it is necessary to set this property permanently, then it should be defined inside the |
Create Database Tables
Database tables can be created either manually by running scripts or automatically by using start-up parameters.
...