Home >Database >Oracle >How to solve Oracle's 12541 error

How to solve Oracle's 12541 error

WBOY
WBOYOriginal
2022-05-31 15:42:0410540browse

Method: 1. Right-click the bottom taskbar, select Task Manager, and enter the service panel interface; 2. Find the "OracleOraDb11g_home1TNSListener" and "OracleServiceORCL" services in the service panel and open them, and reconnect to the server. Can.

How to solve Oracle's 12541 error

The operating environment of this tutorial: Windows 10 system, Oracle version 12c, Dell G3 computer.

Causes and solutions for Oracle’s 12541 error

The following error occurs: ORA-12541:TNS:no listener, as shown in the figure below:

How to solve Oracles 12541 error

The reason for the error is that we did not open the Listener service.

Solution

Enable this service in the service, as shown in the figure below.

1. Find the specified service in the task manager

Right-click on the taskbar, select Task Manager, and enter the service panel interface

How to solve Oracles 12541 error

##2. Enter the service to see if OracleOraDb11g_home1TNSListener and OracleServiceORCL are open. If not, open them.

How to solve Oracles 12541 error

Extended knowledge:


The following error occurred: ORA-12514: TNS: The listener does not currently recognize the service requested in the link descriptor. As shown in the figure below:

How to solve Oracles 12541 error

The solution is to open the service OracleServiceORCL, as shown in the figure below:

How to solve Oracles 12541 error

An error occurred : ORA-01017: invalid username/password;logon denied.

How to solve Oracles 12541 error

Solution: When configuring the database connection, the user name and password were both root and root configured when Oracle was installed. However, the above error will occur. Later, I can successfully log in using the username: scott and password: tiger. This scott account was also configured when installing the database.

How to solve Oracles 12541 error

Recommended tutorial: "

Oracle Video Tutorial"

The above is the detailed content of How to solve Oracle's 12541 error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn