Unable to connect the SQL Developer PDB

Hello

I am unable to connect to my pdb1 for SQL Developer.

Oracle@Solaris:~$ lsnrctl status

LSNRCTL for Solaris: Version 12.1.0.2.0 - Production on 4 January 2016 13:50:37

Copyright (c) 1991, 2014, Oracle.  All rights reserved.

Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

STATUS of the LISTENER

------------------------

Alias LISTENER

For Solaris TNSLSNR version: Version 12.1.0.2.0 - Production

Start date 4 January 2016 10:57:08

Uptime 0 days 2 h 53 min 29 s

Draw level off

Security ON: OS Local Authentication

SNMP OFF

Parameter Listener of the /u01/12.1.0/grid/network/admin/listener.ora file

The listener log file /U01/app/grid/diag/tnslsnr/Solaris/listener/alert/log.XML

Summary of endpoints listening...

(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=solaris) (PORT = 1521)))

(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

Summary of services...

Service '+ ASM' a 1 instance (s).

Instance '+ ASM' READY State, has 1 operation for this service...

Service 'cdb01' has 1 instance (s).

'Cdb01' instance, State LOAN, has 1 operation for this service...

Service 'cdb01XDB' has 1 instance (s).

'Cdb01' instance, State LOAN, has 1 operation for this service...

Service "Pdb1" has 1 instance (s).

'Cdb01' instance, State LOAN, has 1 operation for this service...

The command completed successfully

Oracle@Solaris:~$

SQL Developer:

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

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

Type of connection is that fundamental role is SYSDBA

But I can connect to my CBD01 of SQL Developer.

//

Thank you

Christophe

SQL Developer:

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

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

As another reviewer said Oracle 12 c requires SERVICE_NAME and no SID to connect to the PDB files.

http://www.Oracle.com/technetwork/articles/database/multitenant-part1-PDBs-2193987.html

What is a database of the container

So, what is the big advantage in this configuration, you may ask? Couldn't we have just created several ordinary vanilla instead of several PDB databases? Yes, we could have; but each of these 'plain vanilla' databases would have then his own load of instance (process and memory). PDB do not have an instance associated with them, eliminating this overload. Let's look at the installer with an example. Suppose you have a CBD (database container - the real database that hosts the other PDB files) called CONA, who has a calledPDB1 of the PDB. If you check the Oracle instance, you will see that there is one - that of the CBD. First, let's check the ORACLE_SID:

[oracle@prosrv1 ~]$ echo $ORACLE_SID CONA

That's all. There is only a single SID; not one for each PDB. Then we will check the process, especially very important that known as 'pmon ":

See this last sentence above? See this line in the status of listening port you have posted?

Service "Pdb1" has 1 instance (s).

Pdb1 has a 'service' - a SERVICE_NAME allows to connect to him and all other PDB files.

Tags: Database

Similar Questions

  • How to connect the sql with cloud developer

    Hello

    We are able to create and connect data bases in the clouds, but not sure how to connect with oracle sql developer locally.

    Any help.

    I get the database settings and manage to connect with sql developer

  • Question about how the SQL Developer to connect to DB

    I'm testing the recovery WORK and client connection, for a db 3 cluster node by rigging the first entry in my tnsnames.ora file and connecting with SQL Developer.

    In theory, Developer SQL should fail over to the second node listed in my tnsnames.ora file.

    The problem is that no matter what I put in my tnsnames.ora file, Developer SQL still connects to the first database listed, proddb1, EVEN if I have 1) remove this entry from the TNS and 2) when I mistyped the entry so it is not resolve in DNS.

    So, how Developer SQL connects to the DB? Y at - it a cache somewhere that I don't see?

    You specify the TNSnames directory in preferences? It is possible, it uses the evil tns file to make the connection. It is even possible he finds several TNS files in that directory, and it does not use the one you intend to let him. You can see if you follow this 'thing'.

  • Able to connect to SQL Developer but not a toad - ORA-12154: TNS

    My workplace uses TOAD as standard SQL tool to run against Oracle, although I prefer test and use SQL developer.

    When you try to connect to a database in TOAD I get the following error

    ORA-12154: TNS: could not resolve service name

    I'm using the TNSNAMES file. ORA and I am able to connect through SQL Developer, no problem.

    Also in the same file, I'm able to connect to the other TNS names, but all just not this one it seems.

    I find it very strange, because it seems that for this name TNS one, I specifically can not connect through TOAD

    I can connect to any other AMT via TOAD, and I can connect through SQL developer

    I also tried a TNSPING and his returning in OK for the server and the connection seem just.

    I am trying to connect to an Oracle 10 g with TOAD version 8.0.0.47 Server

    Any ideas appreciated!

    I'm doing this from memory, but...

    Oracle 10g database with TOAD version 8.0.0.47
    

    I believe that your version of toad is too low for this version of Oracle. You should be able to confirm with QUEST software.

    Best regards

    mseberg

    I found the page "which versions of Oracle of Toad for Oracle support?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL21018

    What version of Oracle 10 is the question?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL63225&category=solutions&SKB=1

    Published by: mseberg on July 22, 2011 15:47

    My rule with Toad's (once you get past the version number), if you cannot connect using SQL, Toad will never work.

    Published by: mseberg on July 22, 2011 15:55

  • I have an iPhone 6s smart box, but I am unable to connect the headset because it is not long enough.  Is there any adapter that I can use?

    I have an iPhone 6s smart box, but I am unable to connect the headset because it is not long enough.  Is there any adapter that I can use?

    alias-research-http://www.Amazon.com/s?ie=UTF8&x=0&ref_=nb_sb_ss_i_8_11&y=0&field-keywords=IPhO does % 20headphone % 20adapter & url = % 3Daps & sprefix = 20head % iphone

  • Unable to connect the world of Minecraft

    My friend and I we cannot join the worlds in minecraft even we are friends on xbox live. What is the problem? Can you please fix this?

    Hi James,

    According to the description of the problem, you are unable to connect the world in Minecraft on MSN.com. I suggest you to return the article mentioned below and see if it helps you to solve the problem.

    Minecraft: Windows 10 Edition Beta FAQ

    If the problem persists, I suggest to contact the game MSN support and hope that you will get a quick response from their support.

    Support MSN Games

    Welcome to MSN Games Support

    Hope that the information provided is useful. Let us know if you have any concerns related to Windows. We will be more than happy to help you.

    Kind regards

  • Unable to connect the WD external hard drive

    Original title: external drive wd drive 1 TB.

    I have a problem getting my computer to accept my drive external wd on d ' training. I have a basic dell computer vista laptop.

    They have been connected for more than a year. No problems with the previous backups. The last time I used my computer for offline family history, he was running slow and not answered, then it crashed. Can only access the files already on the c drive. During an attempt to access previous back ups, model said unidentified ports connection. All I can think to try... Tried to connect to another computer in the library. Not showing no sign that it is connected. How can I get the previous files and back ups, or has permanently hard-drive?

    I hope that I haven't lost 4 years of work?

    I am not connected to the internet at home and only go on the net to my library

    Hi John,

    Thanks for the post. I understand that you are unable to connect the WD external drive.

    I imagine the inconvenience that you are experiencing. I will definitely help you with this.

    To help you suggest several steps to solve the problem, I would appreciate it if you could answer the following questions:

    1. you receive an error code or message?

    2. have you made any recent hardware or exchange of software on your computer before the show?

    3 have you tried to connect the external hard drive on another USB port?

    Please follow the methods and mark the question below:

    Method 1:

    I suggest you to run the Microsoft Fix It from the link below.

    Hardware devices do not work or are not detected in Windows:

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2:

    Uninstall and reinstall the USB drivers.

    You can check after uninstalling and reinstalling USB drivers if you are able to connect. You can disconnect all USB devices and then perform the following steps:

    a. Click Start and then click Control Panel.

    b. click System and Maintenance, click System and then click on Device Manager.

    Note: If the control panel is in Classic view, double-click System, and then click Device Manager.

    If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    c. in the Device Manager, double-click to expand the "USB Bus controllers", right click on the controller host, click "Uninstall" and click "OK".

    Check that if at all, there is an exclamation point on the pilot, it suggests problems with the installed driver.

    d. Repeat step 2 to uninstall all items under 'USB Bus controllers'.

    Then, restart your computer and Windows will automatically reinstall all USB controllers.

    Note: Connect USB devices to the computer once the drivers of conflict are uninstalled, and once the computer is restarted.

    If you are still having the same problem then you can check the device USB drivers updated using windows update.

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 3:

    WD external drive is not recognized or detected in Windows XP after installation and use

    http://wdc.custhelp.com/app/answers/detail/A_ID/1695/p/228/session/L3RpbWUvMTM1MDQzMTYwNy9zaWQvQ0NTdVFVOGw%3D

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Unable to connect the XBox 360 to my PC showing 'Impossible to locate.

    Original title: homegroup

    UNABLE TO CONNECT THE XBOX 360 TO MY PC... ERROR CODE ST

    CANNOT LOCATE ATES

    Hi laurent,.

    Thanks for posting your question in the Microsoft Community.

    I suggest you to contact Xbox support to obtain assistance from the link below:

    Contact XBox Support:

    http://support.Xbox.com/en-us/contact-us

    I hope that the information above helps you.

  • Cannot query the SQL Developer apex_application_files

    Request Express 4.2.5

    SQL workshop

    I use a function table to analyze several files, delimited by tabs, that I downloaded and saved on the apex_application_files.  The strange thing is that when I run the following query in the SQL workshop and the schema that owns the function table, then it returns the correct results.  However, when I try to do the same on the SQL Developer as the user who owns the table function it returns no result.  A short, generic version of the base query is:

    SELECT * from apex_application_files

    Is there some kind of definition I need to put in SQL Developer, that tempt me to appear as a certain user APEX, so that I can get results when I run the above query?

    I was able to get the data I need questioning wwv_flow_file_objects$ of in SQL Developer.

  • Bug in the SQL Developer report where?

    Where can I report a bug in the SQL Developer? It is possible at all?

    I use Ubuntu 14.04 (32 or 64 bit) with Oracle VM 1.7.55 and get a SIGSEGV vm.

    Thank you

    Diogo Sant

    If you have database support through MyOracleSupport, you can report a bug there.

    If this isn't the case, then this is the place, although nothing is guaranteed.

  • How to create insert statements in the SQL Developer client

    Hi all

    A toad, we can create instructions for insertion of data in the table by clicking with the right button on the table and selecting create insert Stmts. But I am new customer SQL Developer. Could you please let me know how to do that in SQL Developer. I would be grateful if someone posts a link to the manual of the SQL Developer (how to use SQL Developer).

    Thank you.
    SQL> create table staging(x int, y varchar2(3));
    
    Table created.
    
    SQL> create table base(x int, y varchar2(3));
    
    Table created.
    
    SQL>
    SQL> insert into staging values(1,'ABC');
    
    1 row created.
    
    SQL> insert into staging values (2,'DEF');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select * from staging;
    
             X Y
    ---------- ---
             1 ABC
             2 DEF
    
    SQL> select * from base;
    
    no rows selected
    
    SQL>
    SQL> insert into base
      2  select * from staging;
    
    2 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> truncate table staging;
    
    Table truncated.
    
    SQL>
    SQL> select * from staging;
    
    no rows selected
    
    SQL> select * from base;
    
             X Y
    ---------- ---
             1 ABC
             2 DEF
    
    SQL>
    SQL> exit
    
  • Table of misinterpretation of the SQL Developer Reference

    I use SQL Developer with Oracle 11 g DBMS 2.1.1.64.
    I've noticed recently that even if the DBMS allows you to create a table and a function with the same name, if I try to type a variable % TYPE by using the table, that I have just mentioned, there is a compilation error. For example, there are cancel_tag_range and cancel_tag_range of the table function. Then I do this variable declaration:
    v_current_tag cancel_tag_range.start_tag%TYPE;
    that translates into error "PLS-00225: reference of the subprogram or cursor 'CANCEL_TAG_RANGE' is out of range."
    that is, SQL Developer interprets as a reference to the function, not the table.
    It seems to me that the SQL Developer should know how to handle this. After all, the DBMS let me name 2 objects the same - which I think should be a problem because they are different object types - one is an array and the other a function. In addition, the context of the statement should specify that the table is referenced.
    Why does this happen? And there at - there no way to get around this other than rename one of these objects? Thank you.

    SQLDeveloper use the PL/SQL compiler in the DBMS so the error comes from the DBMS. You'll have to rename it, I suspect.

  • Display of items on the left side of the SQL Developer.

    We have problems with the display of the objects on the left side of the SQL Developer. I think it has to do with the permission issues. I have a proxy account, but I also have a read-only account. Now, I can query tables on the worksheet, but I can't see the objects on the left side as I can with my proxy account.

    Is there a default value that I need to activate or disable?

    Help, please

    Thank you

    Then this is the answer to your question: you do not have the select privileges on sys.external_tab$ (exceptionally the table may not exist).

    Kind regards
    K.

  • Connection tab Sybase shows is not in the new option of connection in SQL developer

    Hello

    I do not see a Sybase connection tab in the new connection option in SQL developer 2.1, as it was available in version 1.5

    Why is this? How to fix?

    Hello

    Have you installed the JTDS JDBC driver still in SQL Developer.
    This is necessary before you get the tab connection for SQL Server and Sybase.

    You can install the driver, JTDS action to Check For Updates.

    Kind regards
    Dermot
    SQL development team

  • Bug? : cannot execute predefined "last awr" report with the latest version of the SQL Developer

    Using sql developer before 4.x... report works fine

    Using SQL developer 4.0.0.13... report fails with ORA-01422

    using the actual query to generate awr against the same range of component snap works perfectly

    I opened a SR on the question

    Thank you

    It's always a good idea to open a SR when you are able.  I assume that you have already received a response from support.  For others I wondered about this, the question is likely related to running the report against a CCR environment, as indicated in the following bug:

    Bug 18132564 - LAST AWR REPORT FAILS WITH ORA-01422 IN CCR ENVIRONMENTS

    The call of the AWR report requires parameters for a DB and an ID of Instance, so that the report should run, as in earlier versions, for only the current instance, or be modified to run all instances in the cluster.

    Kind regards

    Gary

    SQL development team

    P.S.: And, in fact, a discussion prior forum - ai2 4.0-AWR and ASH giving ora-01427

    lead following bugs are connected and supposed to be fixed for SQL Developer 4.0...


    Bug 17481944 - PERFORMANCE PANELS NEED AWR/ASH/ADDM FOR RAC ENVIRONMENTS SUPPORT


    ... with the developer commenting

    I've added a number instance selection control to the various reports: ASH,.
    AWR, difference and SQL. The control is supposed to be visible when the
    connection is a RAC system, tests should a RAC.

    So if you are not on a RAC system, or are on CARS but do not see the selection number instance control, please let us know.

    Post edited by: Gary Graham

Maybe you are looking for

  • iOS 10 will not broadcast play without mirror

    I used to be able to play sound from my iPhone 6 to my Apple TV with sound only, but since the update to iOS 10 this has changed. I don't particularly want my iPhone screen upward at the TV when I play Pandora. But I can't find an option to turn off

  • Hi all, can't close my macbook air. It gives the message error 'safari's interruption of stop Can anyone help?

    Hi, I have problems with my macbook air is closed. OS X El Capitan version 10.11.2. It gives the error message "safari is to interrupt the closing." It is after leaving safari severally. Can anyone help?

  • Bluetooth works only with fresh OS installation

    I bought the laptop from m6-n113dx HP ENVY at Best Buy and a 240 GB SATA III SSD. When I reinstalled the operating system to a previous license that I owned for Windows 8.1 Pro x 64, I could no longer work of Bluetooth radio. The Qualcomm drivers wor

  • Music pre-loaded...?

    So I just picked up a brand new clip of 4 GB. Great little player; works like a charm with my Mac. However. After charging, add music and then installing the latest firmware, I find that the Clip contains a handful of songs by artists who are not in

  • LR6 does not open

    I bought LR4 upgrade to LR6 a couple of months. Yesterday, after two months of impeccable service, I was unable to open LR and that continues today. There is no message, no warning or questions, but not opening. Any advice?