12

I downloaded DeveloperDaysVM2016-06-02_13.ova from http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html and successfully loaded it into Virtual Box.

I logged in as "oracle" user and I can see the desktop.

From within the virtual machine, I opened Firefox and navigated to:

http://localhost:8080/ords/hrrest/employees/ and successfully received a list of employees in JSON format. So I know the database is up and running.

My only problem is I cannot login to the database.

I tried:

[oracle@vbgeneric oracle]$ sqlplus oracle

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 5 17:32:22 2016

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Enter password: oracle
ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name:

my ORACLE_SID=orcl12c

How do I login to the database itself?

10

The default password for the HR, sys and system accounts is oracle.

The Unix password for the oracle user is also oracle.

| improve this answer | |
  • did the following: sqlplus hr and entered "oracle" as password and it worked. – user1068636 Jul 7 '16 at 19:49
  • three years later, for Oracle 12.2 vm image, for unix account oracle, the oracle password doesn't work :-( – Jakub P Oct 2 '19 at 11:45
1

You should be able to login to the database as follows:

sqlplus sys/oracle@localhost/orcl12c as sysdba
| improve this answer | |
1

Okay, this is probably a better answer, since the objective is to be able to work with the 'system' database.

Use: sqlplus system as sysdba

and the password is -> oracle

I got in using student / student. This was in the Getting Started with EDQ pdf document, but it was not clearly designated that it worked for the sqlplus login.

[oracle@edqtrn ~]$ sqlplus system

SQL*Plus: Release 12.1.0.1.0 Production on Sat Aug 11 10:12:39 2018
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Enter password: 
ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name: student

Enter password: 

Last Successful login time: Fri Aug 10 2018 23:57:35 -04:00

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL>
| improve this answer | |
  • Actually, sqlplus sys as sysdba than connecting with system would be better, but both are more dangerous than a regular user ID. – Mark Stewart Aug 11 '18 at 23:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.