How do I fix error ORA-12560 TNS protocol adapter error?

How do I fix error ORA-12560 TNS protocol adapter error?

Set the Oracle system ID (SID) to C:>set oracle_sid=ORCL. Next, run the Net Start command (C:>net start oracleserviceORCL). This should resolve the ORA-12560 error in this situation.

How do I fix protocol adapter error in SQL?

How to Fix ORA-12560: TNS: Protocol Adapter Error

  1. Make sure the windows service is up and running.
  2. Make sure your ORACLE_SID is set to the instance name you’re trying to connect to. If either one or two are not correct you will get the error as seen below.

How do I connect to Sqlplus?

Do the following steps to start SQL*Plus and connect to the default database:

  1. Open a Windows command prompt.
  2. At the command-line prompt, enter the SQL*Plus command in the form: c:\> sqlplus.
  3. When prompted, enter your Oracle9i username and password.
  4. SQL*Plus starts and connects to the default database.

How do I remove SQL Plus from Windows 10?

To remove components on a Windows computer with Oracle Universal Installer:

  1. Ensure that you first follow the instructions in “Stopping Oracle Services on Windows”.
  2. Start Oracle Universal Installer.
  3. Click the Deinstall Products button.
  4. Select the Oracle home you wish to remove.
  5. Check the boxes of components to remove.

How do I install Tnsnames ora?

Specifying a Connection by Configuring a tnsnames. ora File

  1. Run Oracle Universal Installer.
  2. Select the Custom installation type.
  3. In the Available Product Components list, select Oracle Network Utilities and click Next.
  4. In the Summary window, click Install, then click Exit and Yes to exit Oracle Universal Installer.

What is sqlplus command?

SQL*Plus is a command-line tool that provides access to the Oracle RDBMS. SQL*Plus enables you to: Enter SQL*Plus commands to configure the SQL*Plus environment. Startup and shutdown an Oracle database. Connect to an Oracle database.

How do I start sqlplus from command prompt?

SQL*Plus Command-line Quick Start for Windows

  1. Open a Windows command prompt.
  2. At the command-line prompt, enter the SQL*Plus command in the form: c:\> sqlplus.
  3. When prompted, enter your Oracle9i username and password.
  4. SQL*Plus starts and connects to the default database.