Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Why do i get oracle11g-tns error while starting oracle sql * plus?


Asked by Kaison Frank on Dec 09, 2021 SQL



Whenever I try to login into SQL*Plus (11g Standar Edition Win 64) I get an error related to some connection error. I try to login as sys as sysdba and provide the password. All the services are started. I'm on Windows 7. Any help would be appreciated. Ensure the OracleService is running.
Furthermore,
You are getting ORA-12560: TNS:protocol adaptor error becuase you didn't start the Oracle database. You can start Oracle database like this. From START-> select Oracle Database 11g Express Edition ( 11g or what ever your database type.you can find this from All Programs).
Also, After getting the above message,again try to connect through the SQL plus command line by giving user name and password. Go to Start --> Run--> type " services.msc" Select the OracleService name, Right Click, Start. Wait for a while and then your service will start. Then go to your sql command line window and try to connect to your user.
In addition,
Due to the complexity of network communications, network errors may originate from a variety of sources, for a variety of reasons. If an error occurs, applications such as SQL*Plus, that depend on network services from Oracle Net Services, will normally generate an error message.
Next,
From START-> select Oracle Database 11g Express Edition ( 11g or what ever your database type.you can find this from All Programs). Then inside this folder there is a DB icon with green color spot. It is the Start Service icon.Click it.Then it will take some seconds and start the service.