Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

What to do if I cannot connect database as sys as sqlplus as sysdba?

Asked by Christopher Paterson Mar 20, 2023 1.2K views 1 answer
Share

About this question

I am new to oracle server 18c (currently taking an online course). My problem is sql*plus where I tried to use sqlplus then sys as sysdba (it did not work) and the error appeared below.

However, if I use sqlplus / as sysdba (it worked, and I don't know why)

I have tried this command: lsnrctl start, but again not working. In addition, I have checked my listener.ora and tnsnames.oraca

I have attached my environment set up in .bash_profile

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.