ORA-12505, TNS:listener does not currently know of SID given in connect des

后端 未结 5 1356
予麋鹿
予麋鹿 2020-12-17 05:35

Please kindly help me as I just installed Oracle 11g but cannot connnect using SQL Devloper using the settings below:

Username: system

Password: mypassword

相关标签:
5条回答
  • 2020-12-17 05:41

    If you Still getting this Error message:

    Status : Failure -Test failed: Listener refused the connection with the following error:

    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    Do following steps: 1. open cmd prompt. 2. c:/ services.msc 3. its navigate to system services console there it self once you check it the OracleServiceXE status. 4.then starts the service status(rightclick>start) wait till status showing the running.

    0 讨论(0)
  • 2020-12-17 05:43

    if u r using oracle 11g enterprise edition, then do one thing, u just uninstall it, and again reinstall oracle 11g. do all the steps carefully. when installation will finish, then go to start menu-oracle 11g-configuration & migration tool-database configuration assistance. open this & again do configuration here u will give a sid name . that sid will be used when u will create a connection in sql developer insteade of xe. execept this above dont change other. i hope it will be definitely work.

    0 讨论(0)
  • 2020-12-17 05:47

    For SQL Developer maybe you need to add these parameters

    AddVMOption -Duser.language=en
    
    AddVMOption -Duser.region=US
    

    in the file

    $SQLDEVELOPER_HOME\sqldeveloper\bin\sqldeveloper.conf
    
    0 讨论(0)
  • 2020-12-17 05:51
    1. Open Net Manager. In Oracle Net Configuration, open Local, and then, open Listeners.
    2. Select your Listener.
    3. In the upper right ComboBox, select Database Services.
    4. Clic Add Database.
    5. Fill the 3 fields: Global Database Name (i.e. ORCL.NET. In SQL Plus type SELECT * FROM GLOBAL_NAME), Oracle Home Directory (i.e. C:\app\User\product\11.2.0\dbhome_1) and SID (i.e. orcl)
    6. File > Save Network Configuration.
    7. Restart the OracleOraDb11g_home1TNSListener service.
    0 讨论(0)
  • 2020-12-17 06:07

    I have same problem, but I run on oracle linux. After searching and testing, i can connect sqldeveloper to my oracle11g without setting my listener.ora or else

    here is the syntax that i run on terminal sql

    alter system set LOCAL_LISTENER='(DESCRIPTION_LIST =  (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))))';
    

    then

    alter system register;
    

    i get the tutorial here

    0 讨论(0)
提交回复
热议问题