您的位置:首页 > 数据库 > Oracle

ubuntu 11.10 安装Oracle Database Enterprise/Standard Edition for Linux x86

2012-04-04 16:11 465 查看
安装过程参照:点击打开链接

中间报错,问题解决参考:点击打开链接

oracle 使用过程中,中文显示为?问题解决方法:

在linux下装了一个oracle 10g,登录sqlplus 后,显示

  SQL> startup

  ORACLE ???????

  Total System Global Area 167772160 bytes

  Fixed Size 1218316 bytes

  Variable Size 67111156 bytes

  Database Buffers 96468992 bytes

  Redo Buffers 2973696 bytes

  ????????

  ????????

  然后赶快查看一下NLS

  SQL> show parameter nls_la

  NAME TYPE VALUE

  ------------------------------------ ----------- ------------------------------

  nls_language string SIMPLIFIED CHINESE

  解决方法:

  退出sqlplus

  在oracle用户下执行

  export NLS_LANG=american_america.zhs16gbk

  可以编辑 bash_profile 文件进行永久设置

  vi .bash_profile

  NLS_LANG=american_america.zhs16gbk export NLS_LANG

  再重新登录sqlplus

  SQL> startup

  ORACLE instance started.

  Total System Global Area 167772160 bytes

  Fixed Size 1218316 bytes

  Variable Size 67111156 bytes

  Database Buffers 96468992 bytes

  Redo Buffers 2973696 bytes

  Database mounted.

  Database opened.

  SQL>

  Ok,搞定
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: