sql - Oracle 11g connection issue -
i installed oracle 11g in vm windows xp, set sid = orcl, when try connect sql developer db im getting error ora-12505, tns:listener not know of sid given in connect
i checked on listener, using lsnrctl services , says listener doesnt support services
edit: tnsnames.ora file
> tnsnames.ora network configuration file: >e:\app\oracle\product\11.1.0\db_1\network\admin\tnsnames.ora > generated oracle configuration tools. >orcl = > (description = > (address = (protocol = tcp)(host = winxpora11g)(port = 1521)) > (connect_data = > (server = dedicated) > (service_name = orcl) > ) > )
im kind of newbie appreciated
this listener.ora
> listener.ora network configuration file: >e:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora > generated oracle configuration tools. > listener = > (description_list = > (description = > (address = (protocol = ipc)(key = extproc1521)) > (address = (protocol = tcp)(host = winxpora11g)(port = 1521)) > ) > )
old thread, in case else stumbles here. in sql developer, do
connection type: basic hostname: winxpora11g port: 1521 service name: orcl
this bypasses tnsnames.ora , should connect database.
Comments
Post a Comment