Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TNS Protocol adapter error while starting Oracle SQL*Plus

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.

enter image description here

like image 588
Brian Avatar asked Jan 09 '12 00:01

Brian


2 Answers

Try

sqlplus sys/<your password>@<your SID> as sysdba
like image 179
Sivadas Melazhi Avatar answered Sep 23 '22 00:09

Sivadas Melazhi


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). Then inside this folder there is a DB icon with green color spot.Start Database icon It is the Start Service icon.Click it.Then it will take some seconds and start the service. connection success

After getting the above message,again try to connect through the SQL plus command line by giving user name and password. enter image description here

like image 21
SithuSena Avatar answered Sep 19 '22 00:09

SithuSena