First of all introduce my installation environment:
macos10.13.5, Navicat Premium14, Parallels Desktop and installed Windows7, Oracle11g
1. Install Oracle VM
So then Oracle is installed win7 in a virtual machine, you can refer to this article to install Oracle Database Installation Guide (attached installation package)
2. Remember password management
The installation process may need to wait a little while, especially the last a little longer. During installation, keep in mind the following figure marquee part of the administrative password , the following need to use, we must remember the administrative password ! ! ! ! ! !
3. Open SQL Plus
After installation is complete, click Start -> All Programs -> Oracle -> Application Development -> SQL Plus
by figure to open SQL Plus, as shown below:
4. Oracle user level:
This section describes the knowledge
5. Log Oracle
We have many options when logging mode
a. the user name sys as sysdba, password is the administrative password that is entered when installing Oracle
b. You can also use to scott login, password management password is still entered during the installation of Oracle
But may encounter the following situation when you log on using the scott: scott account unlocked: ERROR: ORA-28000: the account is locked
Solution:
First use the sys account login, that is, by the above a key: Username sys as sysdba, password that is after it entered when installing Oracle management password to log in, use the command to unlock the user. Command: alter user scott account unlock;
Note: behind the oracle of command must be added; (semicolon must be in English state;)! ! ! ! English;
6. Review the virtual machine IP
By running win + r open window, enter cmd into the command line interface, and then enter ipconfig view ip
7. In connection mac navicat by Oracle
Host Enter the top view of the virtual machine IP, service selection SID, the user name selection scott, password is the administrative password to connect successfully
can also sys log in, as shown
so far, all the processes are completed, if you have questions or do not understand the question or I can private letter in the comments below, if find useful, then I hope you can point a praise, thank you