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
- Make sure the windows service is up and running.
- 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:
- Open a Windows command prompt.
- At the command-line prompt, enter the SQL*Plus command in the form: c:\> sqlplus.
- When prompted, enter your Oracle9i username and password.
- 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:
- Ensure that you first follow the instructions in “Stopping Oracle Services on Windows”.
- Start Oracle Universal Installer.
- Click the Deinstall Products button.
- Select the Oracle home you wish to remove.
- Check the boxes of components to remove.
How do I install Tnsnames ora?
Specifying a Connection by Configuring a tnsnames. ora File
- Run Oracle Universal Installer.
- Select the Custom installation type.
- In the Available Product Components list, select Oracle Network Utilities and click Next.
- 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
- Open a Windows command prompt.
- At the command-line prompt, enter the SQL*Plus command in the form: c:\> sqlplus.
- When prompted, enter your Oracle9i username and password.
- SQL*Plus starts and connects to the default database.