我装好10g2
用 sqlplus sys/FuYou001@orcl 
登录不上
而用  sqlplus sys/FuYou001 as sysdba
能登录上
其它的都是默认设置的,只在刚开始全局数据库orcl设置了FuYou001密码
我要想
sys/FuYou001@orcl 能登录上,要怎么设置
在http://127.0.0.1:1158/em
用户名:sys
密码:FuYou001
身份:sysdba也 能登录上

解决方案 »

  1.   

    还有个问题
    装的时候 没提示设置编码
    默认是什么
    是GBK吗
      

  2.   


    你这里sqlplus sys/FuYou001@orcl登录是报的什么错,是报的sys 必须要 sysdba登录的错,还是报的Tns的错误如果不是前者,就是你还没有配tns或者是listener服务还没有启动。==================================================================================== 
    Inthirties关注Oracle数据库 优化,安全,备份,恢复,迁移 如果你需要帮助或想和我一起学习的请联系 
    联系方式QQ:370140387 
    QQ群:  85837884(注明:数据库) 
    电子邮件:[email protected] 
    网站: http://www.inthirties.com 
      

  3.   

    楼主的愿望实现不了。
    这样就违背了oracle的初衷了。
     A user must connect AS SYSDBA or AS SYSOPER if he wants to perform one of the tasks that require sysdba or sysoper privileges (such as to shutdown or to startup an instance. If he connects as SYSDBA, he becomes SYS, if he connects as SYSOPER, he becomes PUBLIC. SQL> grant connect to sys;授权成功。SQL> conn sys/a
    ERROR:
    ORA-28009: connection as SYS should be as SYSDBA or SYSOPERsys 只能以 sysdba 或者sysoper登陆。而且sys一般系统数据库管理任务上。
      

  4.   


    装的时候,字符是可以指定的,在进行内存参数设置的那一步,有一个tab页就是指定字符集的,默认应该和系统一致。
      

  5.   

    用SYSDBA进去之后select * from nls_database_parameters
    查看NLS_CHARACTERSET项
      

  6.   

    楼主的愿望实现不了。 
    这样就违背了oracle的初衷了。 
    A user must connect AS SYSDBA or AS SYSOPER if he wants to perform one of the tasks that require sysdba or sysoper privileges (such as to shutdown or to startup an instance. If he connects as SYSDBA, he becomes SYS, if he connects as SYSOPER, he becomes PUBLIC. SQL> grant connect to sys; 授权成功。 SQL> conn sys/a 
    ERROR: 
    ORA-28009: connection as SYS should be as SYSDBA or SYSOPER sys 只能以 sysdba 或者sysoper登陆。 而且sys一般系统数据库管理任务上。 支持