PLSQL连接Oracle数据库总出现12514分2中情况:
1、无法解析指定的连接标识符:
解决办法:我的电脑---属性---高级---环境变量 删除Path变量中C:oracleproduct10.2.0db_1in;C:oracleproduct10.2.0db_1;中不带bin的那个。确定OK,再次重启服务连接;
2、上述第一个解决后:还会出现:
监听程序无法识别连接描述符中请求的服务
解决办法:
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = C:oracleproduct10.2.0db_1) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = ORCL) (ORACLE_HOME = C:oracleproduct10.2.0db_1) (SID_NAME = ORCL) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) )
加入红色字体部分,重启服务....祝你好运!