Installation of Oracle Database 12c (12.1.0.1.0) on Windows.
You can download the oracle software from OTN or better the latest patch from Oracle Company - My Oracle Support (MOS).
setx ORACLE_HOSTNAME %COMPUTERNAME%
SUCCESS: Specified value was saved.
::Restart the shell
echo %ORACLE_HOSTNAME%
HI-LAPTOP-NGD
net use \\%COMPUTERNAME%\c$
Local name
Remote name \\HI-LAPTOP-NGD\c$
Resource type Disk
Status Disconnected
# Opens 0
# Connections 1
The command completed successfully.
The pdb's are standard not opened (but mounted).
CREATE OR REPLACE TRIGGER open_pdbs AFTER STARTUP ON DATABASE
BEGIN
EXECUTE IMMEDIATE 'ALTER PLUGGABLE DATABASE ALL OPEN';
END open_pdbs;
/
After suppression of an old database software, you may still get this errors:
Oracle system identifier (SID):[INS-35075] A database instance with the specified identifier already exists.
Steps:
Enterprise Manager uses the local en-us and not us. Be sure that this local is on the top if you want to see Em in English.