10登录问题

fuyou001 2009-05-06 10:18:24
我装好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也 能登录上
...全文
88 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
advancejar 2009-05-08
  • 打赏
  • 举报
回复
估计是直接启动服务和用程序启动的差异
GeekZFZ 2009-05-07
  • 打赏
  • 举报
回复
楼主的愿望实现不了。
这样就违背了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一般系统数据库管理任务上。

支持
hjianke 2009-05-07
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 zhouxu_hust 的回复:]
用SYSDBA进去之后select * from nls_database_parameters
查看NLS_CHARACTERSET项
[/Quote]
up
fuyou001 2009-05-06
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 fuyou001 的回复:]
引用 4 楼 inthirties 的回复:
引用 1 楼 fuyou001 的回复:
还有个问题
装的时候 没提示设置编码
默认是什么
是GBK吗


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

怎么查看字符集
[/Quote]
已经百度到了 是GBK
zhouxu_hust 2009-05-06
  • 打赏
  • 举报
回复
用SYSDBA进去之后select * from nls_database_parameters
查看NLS_CHARACTERSET项
fuyou001 2009-05-06
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 inthirties 的回复:]
引用 1 楼 fuyou001 的回复:
还有个问题
装的时候 没提示设置编码
默认是什么
是GBK吗


装的时候,字符是可以指定的,在进行内存参数设置的那一步,有一个tab页就是指定字符集的,默认应该和系统一致。
[/Quote]
怎么查看字符集
william3033 2009-05-06
  • 打赏
  • 举报
回复
2楼高手。
我来接点分,楼主,先谢过!
inthirties 2009-05-06
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 fuyou001 的回复:]
还有个问题
装的时候 没提示设置编码
默认是什么
是GBK吗
[/Quote]

装的时候,字符是可以指定的,在进行内存参数设置的那一步,有一个tab页就是指定字符集的,默认应该和系统一致。
welyngj 2009-05-06
  • 打赏
  • 举报
回复
楼主的愿望实现不了。
这样就违背了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一般系统数据库管理任务上。



inthirties 2009-05-06
  • 打赏
  • 举报
回复
[Quote=引用楼主 fuyou001 的帖子:]
我装好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也 能登录上
[/Quote]

你这里sqlplus sys/FuYou001@orcl登录是报的什么错,

是报的sys 必须要 sysdba登录的错,还是报的Tns的错误

如果不是前者,就是你还没有配tns或者是listener服务还没有启动。

====================================================================================
Inthirties关注Oracle数据库 优化,安全,备份,恢复,迁移

如果你需要帮助或想和我一起学习的请联系
联系方式QQ:370140387
QQ群: 85837884(注明:数据库)
电子邮件:dba@Inthirties.com
网站: http://www.inthirties.com
fuyou001 2009-05-06
  • 打赏
  • 举报
回复
还有个问题
装的时候 没提示设置编码
默认是什么
是GBK吗

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧