How to connect oracl database with PL/SQL developer

Source: Internet
Author: User
Tags sql client

Prior to the project because of the need to use the ORACL database, due to limited time to start learning from the foundation, and Oracle operation of the command interface is too unfriendly, so found the PL/SQL developer This very useful software to use the database indirectly.

Here is a brief introduction to how to connect the ORACL database with this software.

The first step is to install ORACL database and PL/SQL Developer

There are many tutorials on the web that are not covered in detail. Oracl can be directly to the official website to download, in the installation of attention to a few questions on the line:

1. Be sure to remember your global database name and password, which is important when connecting later.

2. There is also a need to note that at the end of the installation there will be a hint, the best point of opening management, you can see a lot of account related information, it is best to save, especially remember the system account information.

PL/SQL installation is more simple, there are many resources on the Internet after decompression can be directly used, if there are problems can Baidu.

The second step is to create a new user with SQL Plus

First find SQL Plus in the Start menu, if you can't find it.

Opening SQL Plus will remind you to enter your username and password, enter system and the appropriate password (this is especially emphasized in the previous step to remember).

After verification, connect to the database, and then use the following code to create a new user hahaha with a password of 123456:

Create user hahaha identified by 123456;

After entering, the user is created and the following code is used to give permission:

Grant CONNECT,RESOURCE,DBA to hahaha;

Upon completion

The third step is to connect the ORACL database with PL/SQL developer

Open the PL/SQL client and enter the following information

The account number and password is the new account password you just created, the database is the name you give to the total databases at the time of installation, click OK to connect.

If the connection is not on the Connection Agreement may be a problem, you need to modify the corresponding parameters in the configuration, this can be self-baidu a bit.

This problem does not occur if you have not previously installed ORACL and follow my steps step by step.

Attached: How to import files

Open cmd

First enter your data in the Bin folder (due to different computer and installation method, the path is not the same, you need to change), the code is as follows

Cd\app\username\product\11.2.0\dbhome_1\bin

You can then import the data into the database using the IMP command, for example:

Imp userid=hahaha/[email protected] full=y file=e:\data\his_20131124dmp.dmp

This command parameter 1 is the user and password to the database to be imported, parameter 2 is the meaning of all imports, parameter 3 is the path of the import data file

After the import is successful, you can reopen PL/SQL developer in the table column to see the data you just imported, it is very convenient.

The operation of the table is also very simple, open the SQL window directly using the SQL language can be arbitrary operation ~

Finish

How to connect oracl database with PL/SQL developer

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.