Part of this series of posts: Oracle Database 12c on Oracle Linux 6
Right-click the desktop and select Open in Terminal.
Type the following command and press Enter.
sqlplus / as sysdba
Type the following lines, pressing Enter after each one. The last line is a backslash, /. As you press enter after each line the prompt will change to show you your current line number.
create or replace trigger autostart_pdb after startup on database begin execute immediate ‘alter pluggable database all open’; end autostart_pdb; /
Note:
For some reason pluggable databases don’t automatically start on reboot. Our container database (orcl) does as it is registered with Oracle Restart dynamically as it is created. The above trigger will automatically start our pluggable database (pdborcl) when the orcl database starts.
Type the following command and press Enter.
exit
Oracle Database 12c on Oracle Linux 6 – Step 26: Modify glogin.sql < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 28: Log into Oracle Enterprise Manager Express
April 28th, 2014 at 7:25 pm
[…] Step 27: Configure the Pluggable Database to Autostart on Reboot […]
May 12th, 2014 at 6:08 pm
[…] […]
May 12th, 2014 at 6:13 pm
[…] […]