windows 10 64位的PL/SQL developer连接oracle出现“ORA-12154:TN:could not resolve the connect identifier specified”问题的解决

由于没有安装oracle客户端,用PL/SQL 连接时,要安装instantclient与vcredist_x64.exe ,但偶尔还是会出现如题问题,原因:

1、出现这种情况可能nls_lang设置没匹配,设置成“SIMPLIFIED CHINESE_CHINA.ZHS16GBK”。

# 常用中文字符集
set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
# 常用unicode字符集
set NLS_LANG=american_america.AL32UTF8

2、设置了oracle_home目录,删除试试

 

posted @ 2020-09-09 20:51  herry507  阅读(149)  评论(0编辑  收藏  举报