Navicat Oracle connection through a virtual machine (VM comes installed Oracle Oracle tutorials and installation package) on Mac

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 ! ! ! ! ! !
Here Insert Picture Description

3. Open SQL Plus

After installation is complete, click Start -> All Programs -> Oracle -> Application Development -> SQL Plus
Here Insert Picture Description
Here Insert Picture Description
by figure to open SQL Plus, as shown below:
Here Insert Picture Description

4. Oracle user level:

This section describes the knowledge
Here Insert Picture Description

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

Here Insert Picture Description

b. You can also use to scott login, password management password is still entered during the installation of Oracle

Here Insert Picture Description
But may encounter the following situation when you log on using the scott: scott account unlocked: ERROR: ORA-28000: the account is locked
Here Insert Picture Description
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;
Here Insert Picture Description
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
Here Insert Picture Description
Here Insert Picture Description

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
Here Insert Picture Description
Here Insert Picture Description
can also sys log in, as shown
Here Insert Picture Description
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

Published 16 original articles · won praise 69 · views 7602

Guess you like

Origin blog.csdn.net/suiyu_eran/article/details/103888054
Recommended