Use Toad to manage local databases

Source: Internet
Author: User

Using Toad to manage local databases is more intuitive and convenient than using sqlplus, and easier to operate. For some large tables, the query results are clear at a glance. In general, the following steps are required:

Step 1: Install the local database

This process is no different from general installation, but pay attention to the following two points:

1. When installing the database, "Create a startup database (with an additional 720 MB)", specify the global database name: myOrcl and Database Password ****.

2. Click "password management" during the last step of installation to specify the passwords of scott, sys, and system users, and then confirm until the installation is complete.

Step 2: Modify the tnsnames. ora File

Open the tnsnames. ora file and configure it as follows:

MYORCL =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = ***) (PORT = 1521 ))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = myOrcl)

)

)

* *** Indicates the Host Name of the local machine.

In order to facilitate the difference, here we will give myOrcl an alias to distinguish it from other databases in the Toad database drop-down list. Therefore, the modification is as follows:

ZyhMyOracle_1 =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = ***) (PORT = 1521 ))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = myOrcl)

)

)

Step 3: Open Toad and connect to the local database

In this case, you can use Toad to connect to and manage the local database.

In this case, you can see the locally created database from the database drop-down list. The alias zyhMyOracle_1 is displayed here. Pay attention to the following two points:

1. User/Schema: scott, sys, system, and other users

2. Password: Password for tiger, change_on_install, and manager

After logging on to Toad, you can manage the data table.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.