The database cannot be accessed on the Oracle console.

Source: Internet
Author: User

A database instance was created a few days ago and can be started in sqlplus, but login cannot be used in management and control tools. Today, I tried to solve this problem and the result was still successful. The solution is as follows:

1. Modify [oraclehome]/Network/admin/tnsnames. add a service name in the ora file. You do not need to write Ctrl + C or Ctrl + V and then modify the service name.

2. Modify the [oraclehome]/Network/admin/listener. ora file and add a listening service name in the same way.

3. Then, delete the database that was not successfully started in the console, select Add a database, select Add from tnsnames. ora file, and select the database you just added.

4. Select the added database and enter the user name/password.

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.