How to connect to sqlplus in unix Server

Hi masters.

Little info. requried... I worked on oracle with windows CA. But I don't know unix exp. My question is

I want to connect to sqlplus in unix Server? Please let me know...!

Thanks to the adv.

concerning
SA

Sqlplus username/pwd@servicename;

You can find details of service name in file names tns instead of unix. If you are not able to find and then type cd $TNS_ADMIN at the prompt of unix command, then ls - lrt tnsnames.ora
You can also cat this file to display.

See you soon
Lionel

Tags: Database

Similar Questions

  • How to connect to a Windows 2003 server with a domain from a Win7 pc

    How to connect to a Windows 2003 server with a domain from a Win7 pc

    Hello MikeYoungblood,

    Thank you for visiting the Microsoft answers community.

    The question you have posted is related to Windows Server and would be better suited in the MS TechNet Windows Server Forum. Please visit this link to find a community that will provide the support you want.

  • How to connect VM to a physical server?

    Hi all

    Now, we have two physical servers. that acts as a web server and the other as the DB server. For security reasons, the DB server is not connectivity outside and is connected to the physical web server by cable. We are in virtualizing all of our web servers.

    I tried several ways to connect to the virtual web server with the server physical DB without success. Any thoughts on how to proceed?

    Thanks in advance for any thoughts!

    Hope that this existing scheme allows network. There is also a server vCenter is not in the diagram.

    network diagram.png

    Edit: Thanks everyone - I realized there was a problem with the way the VIRTUAL local area network has been configured on our physical switch (obscure security setting). I had to changed VIRTUAL local network settings and the problem has been resolved.

    You must connect the DB server to the switch and use a VLAN for security.

    Two network adapters to configure the vm of the Web server. A vnic connected to the Port Group VLAN using the DB server and an another vnic to the port group that communicates with the rest of the network.

    -LP

  • How to connect to sqlplus on the cluster database

    Hello


    I have a task to export a database clusdb scheme, which is a cluster database.


    cluster database name: clusdb


    Instance name: > >-> > Hostname: > > ASM Instance:

    Clusdb.global_clusdb01 > > srvpd_01.global > > + ASM1_srvpd_01.global

    Clusdb.global_clusdb02 > > srvpd_02.global > > + ASM2_srvpd_02.global

    When I try to run "sqlplus" to connect to the database on any of the host, it shows the command not found error.

    # oracle@srvpd_01.global >: sqlplus

    -bash: sqlplus: command not found

    # oracle@srvpd_02.global >: sqlplus
    -bash: sqlplus: command not found

    How to connect to the cluster database?

    Thank you!

    +
    ORACLE_SID = CLUSDB
    ORACLE_HOME=/Oracle/product/DB/11.1.0/Clusdb; Export ORACLE_HOME
    ORACLE_SID = CLUSDB; export ORACLE_SID
    ORACLE_TERM = xterm; export ORACLE_TERM
    PATH = / usr/sbin: $PATH; export $PATH
    PATH = $ORACLE_HOME/bin: $PATH:. ; export $PATH
    LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib. export LD_LIBRARY_PATH
    CLASSPATH = $ORACLE_HOME/JRE: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH
    +

    Add the lines above to your .profile or .bash_profile depending on the shell you are using.
    logout and login again.

    Good luck.
    Murali Mohan

    Changed according to your variables. BTW, you can not SID more than 8 characters, which means that the name of your instance GLOBAL_CLUSDB01 is not your SID. So, try parameter with the name of the database as CLUSDB.

    Published by: Murali Mohan on January 17, 2011 04:09

  • How to connect to the CISCO VPN server without using the CISCO VPN client (from dialog Windows VPN)

    Hello world

    I have a cisco router 2800 installed in our company
    and I have it configured as a VPN server for professional help (cisco configuration)
    with the ease of the VPN Server Wizard
    Can I connect to this server using windows XP or 7 dialog VPN?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers community. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    I hope this helps!

  • How to connect a PHP with sql server 2014 in dreamweaver

    I use Adobe Dreamweaver CS6 and I want to connect to the sql server database 2014 using PHP. I searched everywhere but still can't find the solution.

    You can access the database using PDO: http://php.net/manual/en/ref.pdo-sqlsrv.php

    There are official for generations

    You may need to install the drivers for SQL server PHP if you have not already.

  • How to connect to sqlplus?

    I m a beginner... just I installed the database oracle 12 c and when I open immediately the sqlplus it asks username...

    12 c with two types of users, follow this link

    http://halimdba.blogspot.in/2013/07/ora-65096-invalid-common-user-or-role.html

  • How can I index PDF files that reside on a Unix server?

    I was amazed the week last to discover that our Web site does not support PDF research opportunities. Apparently, we're going to get it soon. But when that day comes, I think we need to index our PDFs. I know I can do it for a Windows Server. But, how can I do to a Unix server?

    Thank you

    Peter

    No, not at all. "Indexing" is a stange inconsistent term used for this connection. I guess you really want is a search engine that includes PDF as HTML content. The term 'indexing' might mean 'account with all the text in a file and the addition of words available for research.

    Acrobat uses "Indexing" to mean precisely creating a set of files used by Acrobat itself to find several PDF files. But it is a thing of local file, not a web thing. In this way the indexing of PDF files must be used on the web is bad, but also not good.

    There are two main approaches to web search engines.

    1 premises. Software runs on the local computer and can read the files on the web site. In fact a kind of file, may be called an index. Local software on the web server uses this information to display that you lead.

    2 remote connection. Google is a prime example of this. Visits of the websites ("spiders") to play the files, made his own 'index' and the research on the sites.

    Google (and other search engines) are often seen only as a means of the world wide web to research. But they can be used to search for single servers in their list of everyone, as in https://www.google.co.uk/search?q=indexing+Pdfs+site%3Aadobe.com

    An interesting variation of what was for sale a few years ago, is the "google appliance" for use on private networks (intranets). He was sitting on the local network and done things like google but only with the local network. Then, there was a 'local google' for all local machines.

    One last thing: your customers are not likely to find satisfying if she must search for PDF files and the HTML format of research with a different engine.

  • How to connect to remote oracle (10g and 11g) db Unix and window

    Hi all
    Hopefully an easy one.

    I have two Linux RH configured oracle databases.
    I use spfiles not ora.init files
    I want to maintain the cleanliness of my db and so restrict access remote ones with nicknames known so that if something goes wrong, I can follow who/what/how the newspaper.

    I want to enable users to connect both via call remote sqlplus to Unix and Windows.

    Users must be able to emit a sqlplus user/pwd@host command and be taken to a connection on the server.

    Q is:
    Do I need on my server of the client/Oracle/Oraclelite/or access point what?

    Q2. Should what command I similar to what I mentioned above?

    Q3. Should I tnsnames.ora on each host in the customer?

    Any help would be good on this.

    Hi user633084!

    the minimum requirement is that you have installed Oracle Clienttools about all your customers. After that, you need to configure a tnsnames.ora on each client with the descriptors for each DB connection. The command to connect to the DB from the client is sqlplus username/password@sid.

    hope that helps

    your sincerely

  • sqlplus to connect to remote oracle database server

    Hello

    I have the server database oracle 10g on solaris 10 and I usually connect using my account to solaris and run sqlplus on the server itself. This works!

    I downloaded and installed the client instant oracle for solaris 64 and I can launch sqlplus command but I'm confused on what should be the syntax of the command to connect to remote oracle and solaris 10 database server where I have the system account.

    I tried sqlplus help but still I could not correct syntax that may be used to authenticate to the oracle server.

    I tried

    sqlplus user@hostname:1512/SID

    then he asked for password, but when I typed the password and you press on enter, it gave some error

    but he still asked as username so I type user@SID and then prompt password - typed password and it works!

    so I do not understand what should be the correct syntax for that in the first attempt, I'm able to connect.

    If possible, please give the exact command with realworld examples, (I tried with sqlplus - help already)

    Thanks in advance.

    wonder what if I didn't tnsnames.ora on the client machine, how will be the syntax?

    You generally need (or at least strongly want) a file tnsnames.ora on the client machine.

    -You could configure Oracle Internet Directory and allow this product provide TNS alias resolution for the Organization (similar to the DNS configuration for a LAN).
    -Many tools (I have not personally tried SQL * more and it can be dependent on version) allow you to specify the whole TNS alias in the tnsnames.ora file (i.e. everything that follows the abcd.domain.com = entry) but which is extremely heavy for type
    -According to the version of the Oracle file sqlnet.ora, the complexity of your configuration client (that is, if you try to use the more advanced features such as failover), you may be able to use the syntax EZConnect

    sqlplus username/password@host:port:SID/service_name
    

    Where host is the server that the database is running, the port is the port the listener (i.e. 1521 default) listening and SID/service_name is the SID or service name, you are trying to connect to.

    Justin

  • How repair there is an Apple ID server connection error?

    How repair there is an Apple ID server connection error?

    Where to find similar solution anwer?

  • How to send the SQL for SQL Server statement and return data without using database connectivity Kit?

    Hi, I tried to figure out how to extract data from my SQL Server databases and reading messages and to do some tests with examples, I can get data connection type in my SQL server, but so far nothing helps.  Is it possible to get data from a SQL Server database without using the database connectivity Toolkit?  and if so, how?  are there whitepapers and/or examples of this?  So far, I can't find something that works.  Thank you.

    Jesse - what is your reason for not using the database connectivity Toolkit? It is by far the best way to recover the data.

  • How to connect to the server from VPN Windows Sever?

    Hey guys, I recently created my own VPN server to connect to my home network using Windows Server 2003. I know I probably still need to do this if I don't know what I have to do, but how to connect to the server, or at least set it up in order to be logged in? I think I got the computers communicating with each other, but I think that I am running into errors of authentication. Could someone point me in the right direction with regard to what I have to do what I already have Setup? Thanks in advance.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • How to activate the connection with sqlplus / as sysdba?

    Hello

    I downloaded the virtual appliance of the developer day since that's Developer Day - hands-on data application development

    Connection with sqlplus sys/oracle as a sysdba work

    But for our scripts, I need to connect to sqlplus / as sysdba (os user's oracle).

    If I try to open a session with / as sysdba I get this:

    [oracle@localhost ~]$ sqlplus / as sysdba
    
    SQL*Plus: Release 12.1.0.2.0 Production on Tue Nov 3 02:13:34 2015
    
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: 
    

    How can I activate the oracle user to login with / as sysdba?

    Thank you

    Al

    It seems that I found the solution:

    http://www.stojanveselinovski.com/blog/2014/07/07/Oracle-12C-developer-days-VM/

    Very funny this TWO_TASK / ORACLE_SID. :-)

    CurrentY I can connect to sqlplus / as sysdba - I'm going to restore the virtual machine and try again if this is really the solution. :-)

Maybe you are looking for