By specifying the container to connect with command line utilities (sqlplus/expdp etc.)

Hello

To inaugurate this forum I was play multitenant/pluggable has 12 c and I have a general question about connections to the database of the container - it is clear from what I've tried so far (and what I've read) there is no way to connect to a database from the container without using a sqlnet connection. For example:

Export ORACLE_HOME, ORACLE_SID etc.

sqlplus username/password - it can only connect to the database of the container? (once you are in you can alter the session to switch to the plugable database but cannot do so directly to the connection)

to connect to a database that is connected is always through sqlnet

sqlpus username/password@pluggable

There is no option to say something like:

export ORACLE_SID = container

Export ORACLE_CONTAINER = pluggable

and then do sqlplus username/password?

additional command line switch or as

export ORACLE_SID = container

sqlplus-container = name of user and password pluggable

This understanding is correct or have I missed something in the documentation?

Kind regards

Harry

http://dbaharrison.blogspot.com


Hello Richard,.

In Oracle Multitenant, the only way to connect to a PDB file is by specifying a service.

However, there's a shortcut you can use - TWO_TASK, you will find described elsewhere.

This allows you to specify the default service to serve--think of it as being silently added to your specification by name of user and password. I hope this helps.

Best regards, Patrick

Tags: Database

Similar Questions

  • How to specify the instance in SQL * more command line?

    Hello

    I'm learning to Oracle. I currently have 2 instances of database running. I wanted to connect to one of the bodies and used the following command from the command line:
    sqlplus system as sysdba/abc123@ocp11gsid
    
    where 1234 is the password for the system user in the ocp11gsys instance.
    When I run the command above, SQL * more ask me the password. I do not understand why he asks me the password because I provided on the command line.

    What is the correct command line, so he asks me the password? (without defining the variable ORACLE_SID of environment - basically, I want to know how to specify the user, his password and sid, all in the sqlplus command line, without being prompted to enter the password that I mentioned.)

    Thank you for your help,

    John.

    John,

    This is how it works.

    E:\Documents and Settings\aristadba>sqlplus system/oracle as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 2 22:49:25 2010
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    And now it ask the password,

    E:\Documents and Settings\aristadba>sqlplus system as sysdba/oracle
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 2 22:50:42 2010
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    Spot the difference?

    The user name and password must unite. What you are to provide the password with the role where it will not be considered.

    Update
    I missed that part,

    What is the correct command line, so he asks me the password? (without defining the variable ORACLE_SID of environment - basically, I want to know how to specify the user, his password and sid, all in the sqlplus command line, without being prompted to enter the password that I mentioned.)

    The only thing that you can specify is the user name and password. The SID must be defined by you, either explicitly using the export or oraenv command if you are on the local system and do not use the TNS to connect to the instance. If you use the TNS, then an appropriate entry should be there which would connect to the required database.

    HTH
    Aman...

    Published by: Aman... on August 2, 2010 22:54

  • How do I run the exe of labview with command line

    I would like to launch an exe of labview with a command line.

    I would like to get advice how to launch the exe of Labview with give values to the control settings?

    You can view the example where x, there are controls

    There is a more detailed guide here, I reference below:

    1. first of all, you can enable it in settings:

    1. open the properties for a version of the application specification

    2. navigate to the Advanced category

    3. check the pass all arguments on-demand command line

    To pass the arguments to command line to request and access in your code follow the same steps as for LabVIEW 7.x.

  • How to get the MAC address of the additional 10G NIC with command-line ILO

    How to get the MAC address of the additional 10G NIC with ILO command line?

    Thank you.

    Hi Bruce,.

    Out of what I can find on this network card is not available for the Mac without an operating system. I recommend get/burning a live CD/DVD of Ubuntu/Linux and run an Ifconfig in there.

    Hope this helps you.

  • Unable to generate the token of debugging with command line: illegal device ID

    The doc online is missing (broken), so I'm assuming that we must use the PIN located on the about page, but the token generator does not accept.

    Any advice?

    It must be in hexadecimal. That is to say 0 x.

    Also use the example that is given by the order, not from their Web site. I did it the way they stated on their site Web and half my desktop icons have been removed perma.

  • Need help with XP, you try to restore the system to the mode safe mode with command prompt.

    XP does not start even in safe mode.  Can access the mode safe mode with command prompt. Tried to use the repeated suggestion here.  The said command is not available.

    http://support.Microsoft.com/kb/304449 I tried these instructions from microsoft are supported and the command will not be accepted.

    Any help out there?

    Hello

    1. What is the exact error message when you try to access the computer in safe mode?
    The issue seems to be with the corrupted registry that prevents Windows XP startup.
    How do I recover from a corrupted registry that prevents Windows XP startup
    http://support.Microsoft.com/kb/307545
    Note:
    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756
  • you want to be able to use the wifi to connect with my kindle ebook.

    If someone could help, I am wanting to turn the wifi on my pc (dell inspiron 6400). I want to be able to use the wifi to connect with my kindle ebook. the problem I have is, I bought an audio book through the kindle Bookstore using my kindle ereader. a message came up saying that I must be in a wifi, download area. I suppose that if I activate my wifi, I can be able to complete the download. ?

    Hi Dave88,

    I suggest looking at the support page to see if they have an article or a tutorial on how to do this with your Kindle, Amazon's Kindle:
  • How to change the languages of programming or command line

    How to change the languages of programming or command line?

    Everything you need to go through the control panal do. Click on tab "language". Its pretty self explainable there.

  • Cannot configure the Wi - Fi connection with myRIO. Error message: can not connect. Incorrect credentials.

    Wireless network authentication information in what I typed is correct. I also tried to connect to wifi not school, but that no longer works. Any ideas for a fix?

    Difficulty:

    Create a network using the myRIO and connect on your computer rather than trying to connect to your LAN with the myRIO.

  • Error "no network access" on the devices not connected with hotspot Wi - Fi on Windows 8

    Original title: wifi hotspot problem not reciving data connected network - windows 8

    I have windows 8 simple ASP, when I do a WiFi hotspot it activate and connected to the iphone, lumia or tab, but the data are not recived by any device? they don't show error no network access? What is the problem?

    Hello Anwar,

    I wish to gather information to help you better:
    (1) where exactly you receive the error message "no network access? It's on the phone or the computer?
    (2) how do you have enabled connection with devices Wi - Fi hotspot?
    (3) you have problems connecting Wi - Fi hotspot on the computer?

    (4) you receive the same error message with all devices?

    If the issue is with Windows phone, post the same question in the forums Windows Phone for assistance. Check out the link:

    http://answers.Microsoft.com/en-us/WinPhone

    If you encounter this problem only with the computer, then respond with more information so that we could help you better.

    Answer us with more information that would help us resolve this problem more far.

  • How to specify the location of CSS with BlackBerry S/w Version 4.5

    I use version 4.5 software.

    I'm developing some login pages in html and to specify the location of the CSS file. Documentation, I noticed that the HTML tag does not support the rel attributes or the type attribute that you can set to the style sheet and text/css.

    How can we embark/link CSS in the html file?

    Thanks in advance.

    The link tag should work. Maybe the docs are wrong. Best way is to just try and see what happens.

  • Can not solve the problems of connection with Wifi (Intel Centrino Advanced - N 6205) card

    The card Wifi on my X 220 (Intel Centrino Advanced - N 6205) gave me so much trouble, I'm about to give up on this and buy another laptop.

    In general, the connection to any hotspot Wifi in any location is quite unreliable. It looks like it is connected for a while.

    And several times a day, sometimes several times per hour, I have to go to the Intel Wifi connection utility and click "Repair" to force the card to renew the IP address. This resets the connection and run for awhile again until I do more.

    In recent weeks, I tried everything I could think of. I uninstalled the drivers, installed the latest drivers from the Lenovo Web site, then tried those on the Intel site. Those who are a little more reliable, but the problem persists.

    If the drivers of card/can't be fixed, is there a chance to get Wifi to work again if I buy another Wifi card and install it? Should which card I try? Can be installed without sending it to Lenovo?

    Any help or ideas is greatly appreciated. Thank you!


  • Clear the cache in connection with the collection

    Hello

    I create a report by using the .one problem collection has to happen when I hide any column in the report.
    Enter the value in the report and press Add button line to add the new line to insert the new record, and the previous value is to clear the cache.

    How can I remove this problem.

    and another question

    could you send me a link or sample report where the collection is used with multiple cascading select list more then select three list.



    Thank you
    Maury

    Maury,

    Have you written a PL/SQL process that updates the data in the collection, whenever any button is clicked? A collection is not updated by the SUBMIT button or add a LINE unless you write the code to make - table normal function tabular forms can use the MRU deals, but it can not be used when you use a collection, so you must write code to update the collection every time that the page is sent.

    I sent a link to an application that uses three LOVs cascading - as I said in my other thread, this is not based on a collection, but the LOV is nothing to do with the collections. In addition, even if it is based on 3 lists, you can extend that to 4, or more, lists easily enough as it is still used for each list after the first principle.

    Andy

  • Debugging starts with command line arguments?

    How to start the debugger to a program installation command line arguments? I've never had the need to do this before and I am puzzled as to how to do it now. I added a couple of command line arguments to control some run time options and I don't know how to start the debugger with the options passed to the program. I used cela in the past to start two different execution through a pair of icons of Windows shortcut with properties: goal: target option1a option1b chemin_acces_de: path_toexe option2a option2b but they have so far been so trivial that I never really had to try them under the debugger. How to start the debugger and the RCGA and * argv [] variable configuration when main() is called? It is a modification of a very old project, so I use CVI 5.5 here, if it's important. -wally.

    Hey Wally.

    In CVI 5.5, you can go to the menu Options in the project window and choose ... command line to specify command line options to use when debugging.  In more recent versions of the CVI, this option is located under the menu run .

    NickB

    National Instruments

  • check the catalog by runcat.sh command line files

    Hi all, as mentioned in the http://shivabizint.WordPress.com/category/bi-Publisher/page/3/ I created the file of credentials to connect to the url obiee. The credentials file is the name as cat.properties and the file contains the following value Login = Pwd = eu1 weblogic, once I am in /oracle...catalogmanager folder I tried to run the command in unix box.

    runcat.sh - cmd (Archives) - online https://netflix45:9008/Analytics/saw.dll -C:\obiee\cat.properties outputFile C:\temp\shared.arc of letters of claim-file / shared

    Somehow, it's show error that is not able to log in to the url. Y at - it any suggestion for this script runs to archive the web catalog via command line? Really appreciate your suggestions!

    Best regards, Sushil

    In your original post you have this as one of the argument as below

    outputFile C:\temp\shared.arc

    It should be like

    outputFile - C:\temp\shared.arc

Maybe you are looking for