Oracle SQL Developer Connection error (ORA-12505), developerora-12505

Source: Internet
Author: User

Oracle SQL Developer Connection error (ORA-12505), developerora-12505

 

Oracle SQL Developer Connection error (ORA-12505)

 

 

I had a problem with my Oracle database, and I finally got it done. Today I have created another DBA administrator connection method, and I will share my solution with you, I hope it will be useful to you.

Connection error code: Listener refused the connection with following error: ORA-12505, TNS: listener ......

Are you sure this is the SID error connecting to the database,

Solution:

1. know your SID Name: You can search in the registry, or you can use the sqlplus tool of Oracle and run the command as an administrator to view: select instance_name from v $ instance; it must be an administrator; otherwise, the view does not exist ".

2. Modify the SID Name of your database on the Oracle SQL Developer Connection Tool, as shown in the following figure (Change "xe" to "orcl "):

3. Select "Save command" and "role" and select database administrator.

4. Click "save" and "test" and connect. The connection is successful.

If not! Then you have to modify the listening file, see: http://blog.csdn.net/yangwenxue_admin/article/details/44501365

 

Related Article

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.