oracle sqlplus连接乱码

 

 连接oracle命令行显示问号 '?' 乱码

 

查看oracle编码格式为 AL16UTF16

oracle sqlplus连接乱码

 

 

oracle用户登录执行 ,通过环境变量设置为utf8

oracle sqlplus连接乱码

 

export NLS_LANG='SIMPLIFIED CHINESE_CHINA.AL32UTF8'

还可以修改oracle变量文件.bash_profile中添加export NLS_LANG=”SIMPLIFIED CHINESE_CHINA.AL32UTF8″

然后source .bash_profile生效,下次开机就自动执行。最好的方法是修改数据库

 

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-12-25
  • 2021-10-25
猜你喜欢
  • 2021-08-04
  • 2021-10-25
  • 2021-10-18
  • 2021-06-04
  • 2022-12-23
  • 2021-07-08
  • 2021-04-19
相关资源
相似解决方案