刚建了个REDHAT7+ORACLE10G,用PL/SQL DEVOLOPER登录.
使用scott用户作为NORMAL用户登录,提示ORA-28000:the account is locked。但在服务器上用SQLPLUS登陆可以再用system用户作为SYSDBA登录,提示ORA-01031:insufficent privileges怎么解决?怎么在服务器上新建个数据库管理员呢?查看下现在共有什么数据库用户?

解决方案 »

  1.   

    1、sqlplus "/as sysdba"
    2、alter user scott identified by tiger account unlock;
    3、plsql 用sys 登陆 as sysdba 
      

  2.   

    alter user scott identified by tiger account unlock
    这样可以用PL/SQL DEVOLOPER登录了但SYS,和SYSTEM登录,还不行,密码应该分别是 change_on_install  和 manager吧
      

  3.   

    sqlplus " / as sysdba"
    alter user scott identity tiger account unlock;
      

  4.   

    --上边写错了
    sqlplus " / as sysdba"
    alter user scott identity by tiger account unlock;
      

  5.   

    scott可以了。
    PL/SQL DEVOLOPERBU不能用SYS和SYSTEM登录么?
      

  6.   

    错误很明显的呀
    sys登进去给scott解锁system不是DBA组用户
      

  7.   

    scott已经解锁了是否是PL/SQL不能用sys或system作为用户名以SYSDBA角色登录?
      

  8.   


    sys sysdba
    system sysoper, not a sysdba!!!