Question about "easy connect naming".

Good evening

My setup consists of 11 GR 2 when the host and client are on the same machine.

I wanted to test the "Easy Connect Naming" feature, to that end, I've renamed the tnsnames.ora and proceeded to connect using the following command:
sqlplus sys/abc123@"Oracle2Day1.john.local/orcl.john.local:1521" as sysdba
as expected, the command has managed to connect to the orcl instance.

To make sure that everything was as expected, I also tried:
sqlplus sys/abc123 as sysdba
Against all odds, this command is also connected to the orcl instance.

I expect to fail since there is no tnsnames.ora and I did not specify the names of hospitality and service.

" Is: why was the command sys/abc123 sqlplus as sysdba ' success given that there is no tnsnames.ora?

Thank you for your help,

John.

"The question is: why was the command sys/abc123 sqlplus as sysdba ' success given that there is no tnsnames.ora?

Above works only when you are connected directly to the DB server, because this flavor of connection doesn't use SQL * Net; but uses the Protocol of DOB.

Tags: Database

Similar Questions

  • question about laptop connectivity

    Question about my laptop computer connection

    Hello

  • Question about the connection of a customer VPN ASA

    Hi guys,.

    I have a question about Tunneling VPN. I have an ASA 5505 with static PPPoE address external and local 192.168.202.0/24 network, operates as an EasyVPN server. On the other side is an another ASA 5505 without dynamic PPPoE outside interface acting as EasyVPN customer in customer ode. The internal network is 192.168.1.0/24

    It works very well! But now, I created another user who uses EasyVPN client software to connect to the EasyVPN server. This works as well.

    But how am I able to connect customer network 192.168.1.0/24 on the connections of the ASA?

    Please give me a hint.

    "But how am I able to connect customer network 192.168.1.0/24 on the connections of the ASA?

    Yes, if you set the ACL of split tunnel correctly you should be able to connect to the remote client ASA.

    Please follow the method of configuration of Cisco doc split tunnel, at the bottom of the link.

    http://www.Cisco.com/en/us/products/HW/vpndevc/ps2030/products_configuration_example09186a00808a61f4.shtml

    Evaluate the useful ticket.

    Thank you

    Rizwan James

  • General question about the connections of 3DES side2side ASA

    Hello I have a question for a project:

    We have an office outside our main building is connected via a connection to radio waves of 34 MB and a 10 MB darkfiber.today the radiowaveconnection is not secured and the client wants a 3des encryption and that he will use 2 ASA5510.there are also the 2 questions:

    I have a connections between eigrp process running and I know that the asa cannot deliver this protocol.so can I use the asa in transparent mode only for encryption or as side2side connection?

    She I the first time I work with the ASA so any help is appreciated.

    concerning

    Klaus

    This document describes how to use the Cisco Adaptive Security Device Manager (ASDM) to configure the Cisco 5500 Series Adaptive Security Appliance (ASA) to act as a remote VPN server. The ASDM provides the safety management of world class and through a Web management interface that is intuitive and easy to use. Once the Cisco ASA configuration is complete, it can be verified by using the Cisco VPN Client.

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a008060f25c.shtml

  • QUESTION about to connect the calling WinsCard.dll drive

    could not get the list of player and connect the player successfully by call winscard.dll under C:\Windows\system32 folder in my local PC, but the other PC could do that.

    My PC environment: 2002 XP, SP3
    the version of winscard.ll is August 4, 2008

    Hi Yang Yu,

    1. Is the issue with the computer recognizes the card reader or the card reader can't read the card?
    2. What is you receive the exact error message?
    3. What is the number and the model of the card reader?

    Refer to the article below and try the steps mentioned, if you use Windows XP Professional x 64 edition.

    A universal serial bus smart card reader that is connected to a Windows Server 2003-based computer may not detect the smart card

    http://support.Microsoft.com/kb/919922

    Your question does contain all the required information necessary for us to help you. Please provide more relevant information to continue troubleshooting as a result.

    How to ask a question

    http://support.Microsoft.com/kb/555375

  • Question about the connection using the "sqlplus / as sysdba.

    Good afternoon

    The command:
    sqlplus / as sysdba
    worked very well for the Oracle server. When I go to a client, it does not work even if I specify the correct instance. On the client, I can able to connect using one of these two commands:
    sqlplus.exe sys/abc123@"orahost.john.local:1521/dbca.john.local" as sysdba
    
    or 
    
    sqlplus.exe sys/abc123@dbca as sysdba
    
    but not
    
    sqlplus / as sysdba
    
    or 
    
    sqlplus /@dbca as sysdba
    The question is: is the form "/ as sysdba" limited to used on the Oracle server and not available for customers?

    Thank you for your help,

    John.

    is the form "/ as sysdba" limited to use on the Oracle Server

    Yes

    and not available for customers?

    Yes

  • Question about SQL * connect more in the syntax

    Good evening

    I can connect successfully from the client to the host using the following command:
    0 19:40 [Oracle] [23G] [569M] E:\Client>sqlplus scott/abc123@dbca
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 22 20:01:56 2010
    But I wanted to omit the password, so I tried:
    0 20:03 [Oracle] [23G] [590M] E:\Client>sqlplus scott/@dbca
    thinking that SQL * more tempt me the password but, if it does at all. I tried in vain a few variations. I read the specifications of command line for SQL * more and it seems that this command should work.

    Questions: What is the problem with the command I typed and what is the correct syntax?

    Thank you for your help,

    John.

    To omit the password using connect scott@dbca , but do not connect scott/@dbca of sqlplus.
    or sqlplus scott@dbca

  • Question about the connection of the laptop to stereo to get a good sound

    I'm trying to get an output good phono from my laptop to a stereo. The s-video output a sound, when it is so I could divide the s-video cable in two phono which can then be connected to my sound system.

    Hello

    Yes, it is possible to use a RCA cable that supports a Cinch-plug at the end and 2 Cinch plugs on the other end for the channels left and right sound.

    In addition, the headphone should support s/pdif output. On this way, you can connect the phone to the stereo with a better sound quality.

  • Satellite L20: Question about TV connection

    Hello

    I have the Satellite L20 with Intel GMA 915 graphics card.
    I obviously have cable connection from laptop to tv.
    I wanted to ask that a program I get image from laptop to TV.

    --
    Thank you very much
    Assistant

    If you connect the laptop to the TV via the s-video cable you must turn on the s-video on your TV.
    If you are going to build the connection with cable SCART, so I guess you have to choose the channel SCART.

    In addition, he must use the FN + F5 key combination to switch the display to the TV

  • Just a question about the connection SSL to the PIX

    Hi all!

    I'm used to config pix by the window / telnet, but now I only HTTPS access to it.

    How to connect on it? (what should I use for the login and password)? I know only enable password, but do not know for sure pix hostname or other things... There is not a "username" or additional to the default "aaa".

    Enable password is enough

    type in your browser

    https://PIX_IP_address

    When you are prompted for the name of user and password leave the field empty user name and as password enter the enable password... You will probably be asked again (by java applet) then enter this password again

    M.

    Hope that helps the rate if it isn't

  • Questions about the connection to the Windows domain

    Salvation Group:

    Is there anyway to force the connection to the windows domain? I have

    don't want users to connect to their local account.

    There are number of login script I want to run

    on the computers of the users. Thanks for the help!

    Click on the text in performance and Maintenance, administrative tools and then double-click local security policy to start the local Security Policy Management Console.

    Under security settings, expand local policies item by clicking on + (plus sign) and select Security Options. Double-click Interactive logon: do not need CTRL + ATL + DEL, click the enabled option button and click OK.

    Regarding the script process is concerned, I recommend that you check out (good!) M Script Center $ (http://www.microsoft.com/technet/scriptcenter/default.mspx). Please be careful with the scripts, especially if you work in a corporate environment...

    Good luck

    Josef.

    PS - please rate the usefulness of the post.

  • Question about wireless connection

    I recently bought a laptop and I would like to try the version for this laptop's wireless, but the book information tells me to press the switch on the right to turn on the system. Looks like it is blocked?
    Any suggestions to fix this?

    In my opinion if there is no wireless switch there is no ability to integrate into the wireless card because there is no antenna. As said Miro PCMCIA wireless card is the best solution.

  • try to use easy connect to befriend isqlplus but does not

    Using the Easy Connect naming method

    of http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#sthref783

    I want to connect to isqlplus remotely.

    Forgive me if I ask this stupid question,

    do I need to install the oracle client to use isqlplus. If Yes, then no need to answer the question above.

    I mean with browser without a doubt, I can reach the url, but when it prompts for the connection string, I try the replace by the


    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = globalro-417667)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = tomkyte)
    )

    so I wonder if I'm doing the right thing or not.

    Thank you!

    Hello

    See the link support entirely, the page which you referred it self says 'this chapter describes how to configure the connectivity information for client connections to the database server'. If the Client is required.

    Clients can connect to a database using easy connect server name if the following conditions are met:
    -Oracle Database 10 g Net Services software installed on the client.
    -Support for the oracle TCP/IP on the client and the database server protocol
    -No functionality requiring a more advanced connect descriptor is required

    Everything is there in the Document ORACLE.

    -Pavan Kumar N

  • A question about external authentication with PHP OCI8 using a portfolio store

    Hello
    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> 
    OS: Linux Fedora Core 17 (x86_64)
    PHP Version: 5.4.14
    Apache version (httpd): Apache/2.2.23 (Fedora) 
    I have a question about OCI8 connection to the Oracle server via portfolio, which I understand is a good practice because we do not have to hard code the users password. I'm trying to read pages 117 and 118 of the book The Underground PHP and Oracle manual online to learn how to set up a portfolio. I proceeded by steps as explained in these two pages (except that at the end I connect, as a normal user, not a privileged user) yet, apparently PHP does not detect the user.

    Here's what I write in my script
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    the training is the name of the user that I use in my PHP scripts to connect to the oracle database and the password is mypassword (is not true, just for the purpose of this thread :)) the code above gives me the following error:)
    Warning: oci_connect(): ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 91
    
    Fatal error: Connection step: ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 13
    But if I also provide the password which is,
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "mypassword", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    Obviously it works, but at the same time, this means that my wallet is not operational.

    So I'll write here, step by step, how I did according to the instructions contained in the pages 117 and 118 of the above mentioned book and I would be grateful if you could kindly tell where I made the mistake (s)

    The following text was performed under my oracle linux (so the dbagroup)

    Step 01:_
    I created and provided the password for the directory of portfolio
    mkstore -wrl /home/oracle/wallet_dir -create
    Step 02:_
    I created an entry for my oracle user that will be used in my PHP scripts to connect to oracle
    user: training
    password: mypassword
    mkstore -wrl "/home/oracle/wallet_dir" -createCredential php_ora_usr training mypassword
    I also checked that the entry was actually created for my user in the portfolio
    $ mkstore -wrl "/home/oracle/wallet_dir" -listCredential
    Oracle Secret Store Tool : Version 11.2.0.1.0 - Production
    Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
    
    Enter wallet password:                
       
    List credential (index: connect_string username)
    1: php_ora_usr training
    $ 
    Step 03:_
    I added the following to my $TNS_ADMIN/tnsnames.ora
    .  .  .
    php_ora_usr = 
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = db02)
        )
      )
    .  .  .
    Step 04_
    I added the following to my $TNS_ADMIN/sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    ADR_BASE = /u01/app/oracle
    
    WALLET_LOCATION =
        (SOURCE =
            (METHOD = FILE)
            (METHOD_DATA =
                (DIRECTORY = /home/oracle/wallet_dir)
            )
        )
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    _ Step 05
    The TNS_ADMIN environment variable is already set correctly in * / etc/sysconfig/httpd * so I didn't need to do something for this step


    Step 06_
    I gave to access Apache (as root) in the directory of portfolio (in fact, it seems that the user oracle (dba) of linux also has the required privileges to grant this access to the apache)
    # setfacl -m u:apache:rx /home/oracle/wallet_dir
    # setfacl -m u:apache:r /home/oracle/wallet_dir/{cwallet.sso,ewallet.p12}
    Step 07_
    Restart Apache
    # service httpd restart
    Step 08_
    Finally make a test connection using the connection string php_ora_usr which the entry was created earlier. And the test was not successful, as indicated above
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    The error message:
    Warning: oci_connect(): ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 91
    
    Fatal error: Connection step: ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 13
    I would appreciate it if you could kindly shed some light.

    Thanks in advance,
    Dariyoosh

    That gives a good clue to begin with. With your platform/Apache/DB, you might need different ACLs. Test directory and permissions. Check what euid your Apache runs as. Good luck.

  • questions about 2100 wlc and lwap connection

    Hello

    I have a few questions, I hope you can answer me.

    In fact, I have a controller connected to 3 Lwap 2100, and they are connected to the WCS. they have a static IP address.

    The distance between each point of access to more than 30 meters.

    1. the distance between the access points affect the accuracy or the stream. How can I calculate this

    2. because the APs use a static IP address, each customer should I connect to the network to add a static ip address? can I do the APs detect clients dynamically?

    I have lwapp reset guide, guide WCS configuration and configuration guide for WLC. If you have more documents or more pls share with me.

    BR

    Yamani

    Hello Ahmed,.

    Yes the distance between AP affect the wireless signal.

    to determine the best location of AP and the distance between them, as the site survey is necessary with the expert of the spectrum wireless or airmagnat...

    You can check the following links for design and RF management

    1) http://tools.cisco.com/squish/1Ea09

    2) http://tools.cisco.com/squish/51a58

    for other questions about DHCP, it is not a must that customer use static IP, you can always configure them with DHCP.

    as an extenal DHCP (like windows server), or on the WLC himself (to the title of controller-> > internal DHCP tab).

    Kind regards

    Talal

    =========
    Please note the answers that you find useful and mark as answer - when is it :-) - so that others can easily find

Maybe you are looking for

  • iCloud for photo library

    Hello I decided to download all my library of Photos of the iCloud. I bought the 200 GB storage plan. I recently bought and started using a new macbook El Capitan running and using Photos for my replacement of my old iMac running iPhoto. I also have

  • What browser will continue to support Mountain Lion

    Now that Google Chrome + chrome don't support more Cougar + Firefox is just announcing that from July 15, 2017, they will not support Mountain Lion + Opera, after version 37, also will not support ML, Safari 6.2.8 will be acceptable for use with the

  • Omen of HP 15: How to get rid of startmenu?

    Hi, recently I had the problem of driver signing does not check. It's fixed now, but whenever I start my laptop, it instantly opens the startmenu HP where you can access the BIOS settings and other things. I would like to know how can I do so that it

  • G62: Reset password for Bios

    Password bios HP G62 needed please. 80225536 Thank you

  • I can't log on to my account

    I can not connect on my account. I don't know how it happened that a message came that windows defender was arrested and to activate it so I did and then I disconnected and when I tried to log back wouldn't let me, it says that he was not able to loa