登录sqlplus 后,显示问号 ????

登录sqlplus 后,显示 ????

SYS@orcl>startup
ORACLE instance started.

Total System Global Area 3290345472 bytes
Fixed Size            2217832 bytes
Variable Size         1795164312 bytes
Database Buffers     1476395008 bytes
Redo Buffers           16568320 bytes
????????
????????
SYS@orcl>show parameter NLS_LANG

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
nls_language                 string     SIMPLIFIED CHINESE
SYS@orcl>

解决办法:设置NLS_LANG

[oracle@oracledb ~]$ export NLS_LANG=american_america.zhs16gbk

或者添加到 .bash_profile中,永久有效

你可能感兴趣的:(登录sqlplus 后,显示问号 ????)