我已经下载了Oracle (32位)和SQL database11g,我尝试了从developer.When到数据库的连接,我得到了以下错误。
“网络无法建立连接。”
我还检查了侦听器状态,认为这可能是原因,但当我试图在cmd上执行命令时
SQL>lsnrctl启动
我得到了lsnrctl不是一个内部/外部命令。
我现在该怎么办?
发布于 2015-03-06 13:29:05
我将按照以下步骤缩小范围:
- are you using a TNSNames.ora file? if so check you have an environment variable set up called "TNS\_Admin" on your pc. Again a simple google for "Setting an Oracle Connection to Use TNSNames.ora" should find you detailed instructions on how to do this.
- If after all this nothing works, please update the question with more details, and perhaps try another Oracle Client (toad free trial etc) to establish the problem is not specific to Oracle Sql Developer.
https://stackoverflow.com/questions/28899643
复制相似问题