Open a Command Prompt dialog box (terminal window on Linux).
If you are updating a database that is running on a Linux system, verify that the ORACLE_SID environment variable is set to the correct database.
Execute the following command to connect to Oracle’s SQLPlus utility, where <password> is the sys user password specified during database creation:
sqlplus sys/<password> as sysdba
If you followed the instructions in Creating the Database in Oracle to create the database, this password is probably
seeadmin.
Note:
If Oracle is not defined in your path or your ORACLE_HOME environment
variable is not set, you will have trouble executing the command. Set the necessary
system information, or navigate to the <oracle_install_directory>\bin directory,
and execute the command from the directory. If you have more than one database
running on your system, it may be necessary to set the ORACLE_SID environment
variable to ensure that you are connecting to the correct database.
You are connected to the SQLPlus utility.
Execute the following commands by typing each command
individually and pressing the Enter key:
grant select on pending_trans$ to public;
grant select on dba_2pc_pending to public;
grant select on dba_pending_transactions to public;
grant execute on dbms_system to seeadmin;
Note:
The seeadmin user name in the last command refers to the Oracle user
account that was defined when the database was created. Be sure that your
database uses the same user name or substitute the appropriate user name in this
command.
Type exit to close the SQLPlus utility.
The database update is complete.
Continue to Creating the Database Tables.