ORA-12154 TNScould not resolve the connect identifier specified

  今天我登录PL/SQL连接ORACLE 11G R2报错如下:ORA-12154 TNScould not resolve the connect identifier specified。

  我的解决办法是:1.打开“我的电脑”--“属性”--“高级系统设置”--“环境变量”--“系统变量”--PATH--“编辑”--删除“C:\app\linxi\product\11.2.0\dbhome_1\BIN”这个变量值。

  2.打开PL/SQL,输入用户名、密码、数据库名和角色,发现登录成功!