Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法使用以下方法登录 sqlplus:
sqlplus / as sysdba
一直以来,它给了我:
ERROR: ORA-01031: insufficient privileges
如果有人可以帮助我,那就太棒了。
当您像sqlplus / as sysdba我一样登录时,您会说使用默认登录名,而我不想输入密码。 在 linux unix 环境中,ORACLE_SID 必须设置为一个值:
export ORACLE_SID=xxxdb
如果这还不够,请查看sqlnet.ora并oracle_home/network/admin确保你没有 SQLNET.AUTHENTICATION_SERVICES=NONE(如果你有 - 你会得到ora-01031)。
sqlnet.ora
oracle_home/network/admin
SQLNET.AUTHENTICATION_SERVICES=NONE
ora-01031