ora-28009:connection as sys should be as sysdba or sysoper

1、在客户端用SQLPLUS以SYS登陆提示ora-28009:connection as sys should be as sysdba or sysoper 错误,但用system 可以登陆。
2、在客户端用 Enterprise manager console可以用SYS登陆;

 

前题条件是如果要使用PLSQL工具用sys用户登录的话,必须要选择SYSDBA,如下图:


ora-28009:connection as sys should be as sysdba or sysoper_第1张图片
 

 

如果要使用SQL plus工具用sys用户登录的话,密码必须要加as sysdba,如下图:

ora-28009:connection as sys should be as sysdba or sysoper_第2张图片
 

conn sys/password as sysdba

用SYS用户登陆必须加上AS SYSDBA

你可能感兴趣的:(sql,plsql,SYS,sysdba,orcl,Plus)