You must create a database user for each database.
To create a user for the musicdb database instance, complete the following steps.
Log in as the Oracle user.
In a terminal window, type the following command:
setenv ORACLE_SID musicdb |
In a terminal window, type the following command:
sqlplus / as sysdba |
After some messages are displayed, the SQL prompt is displayed.
Type the following command to create musicdbuser:
SQL> create user musicdbuser identified by musicdbpass; |
Type the following command to grant privileges to musicdbuser:
SQL> grant connect, resource to musicdbuser; |
Type the following command to log out of sqlplus:
SQL> quit |
To create a user for the gwdb database instance, complete the following steps.
In a terminal window, type the following command:
setenv ORACLE_SID gwdb |
In a terminal window, type the following command:
sqlplus / as sysdba |
After some messages are displayed, the SQL prompt is displayed.
Type the following command to create gwdbuser:
SQL> create user gwdbuser identified by gwdbpass; |
Type the following command to grant privileges to settingsdbuser:
SQL> grant connect, resource to gwdbuser; |
Type the following command to log out of sqlplus:
SQL> quit |