i install sqlplus in ubuntu 16.04 but at last

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












but at last when I typed this than it ask me username and password but I don't have any thing.



$ sqlplus username/password@//dbhost:1521/SID
SQL*Plus: Release 12.2.0.1.0 Production on Tue Feb 27 01:56:15 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR: ORA-12154: TNS:could not resolve the connect identifier specified

Enter user-name:









share|improve this question



























    up vote
    0
    down vote

    favorite












    but at last when I typed this than it ask me username and password but I don't have any thing.



    $ sqlplus username/password@//dbhost:1521/SID
    SQL*Plus: Release 12.2.0.1.0 Production on Tue Feb 27 01:56:15 2018
    Copyright (c) 1982, 2016, Oracle. All rights reserved.
    ERROR: ORA-12154: TNS:could not resolve the connect identifier specified

    Enter user-name:









    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      but at last when I typed this than it ask me username and password but I don't have any thing.



      $ sqlplus username/password@//dbhost:1521/SID
      SQL*Plus: Release 12.2.0.1.0 Production on Tue Feb 27 01:56:15 2018
      Copyright (c) 1982, 2016, Oracle. All rights reserved.
      ERROR: ORA-12154: TNS:could not resolve the connect identifier specified

      Enter user-name:









      share|improve this question















      but at last when I typed this than it ask me username and password but I don't have any thing.



      $ sqlplus username/password@//dbhost:1521/SID
      SQL*Plus: Release 12.2.0.1.0 Production on Tue Feb 27 01:56:15 2018
      Copyright (c) 1982, 2016, Oracle. All rights reserved.
      ERROR: ORA-12154: TNS:could not resolve the connect identifier specified

      Enter user-name:






      system-installation software-installation






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 26 at 20:54









      David Foerster

      26.4k1362106




      26.4k1362106










      asked Feb 26 at 20:50









      Harish Chauhan

      11




      11




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          sqlplus seems to use sys user as default
          this topic may help you! https://community.oracle.com/message/10205682#10205682



          What you want is to create a new user.
          default user is sys so you will need to connect to the db from the server itself (through ssh).
          sqlplus "/ AS SYSDBA shall connect you as sys.






          share|improve this answer






















          • harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
            – Harish Chauhan
            Mar 3 at 9:14











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1010081%2fi-install-sqlplus-in-ubuntu-16-04-but-at-last%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          sqlplus seems to use sys user as default
          this topic may help you! https://community.oracle.com/message/10205682#10205682



          What you want is to create a new user.
          default user is sys so you will need to connect to the db from the server itself (through ssh).
          sqlplus "/ AS SYSDBA shall connect you as sys.






          share|improve this answer






















          • harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
            – Harish Chauhan
            Mar 3 at 9:14















          up vote
          0
          down vote













          sqlplus seems to use sys user as default
          this topic may help you! https://community.oracle.com/message/10205682#10205682



          What you want is to create a new user.
          default user is sys so you will need to connect to the db from the server itself (through ssh).
          sqlplus "/ AS SYSDBA shall connect you as sys.






          share|improve this answer






















          • harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
            – Harish Chauhan
            Mar 3 at 9:14













          up vote
          0
          down vote










          up vote
          0
          down vote









          sqlplus seems to use sys user as default
          this topic may help you! https://community.oracle.com/message/10205682#10205682



          What you want is to create a new user.
          default user is sys so you will need to connect to the db from the server itself (through ssh).
          sqlplus "/ AS SYSDBA shall connect you as sys.






          share|improve this answer














          sqlplus seems to use sys user as default
          this topic may help you! https://community.oracle.com/message/10205682#10205682



          What you want is to create a new user.
          default user is sys so you will need to connect to the db from the server itself (through ssh).
          sqlplus "/ AS SYSDBA shall connect you as sys.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 27 at 17:21

























          answered Feb 26 at 23:44









          augustin vm

          234




          234











          • harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
            – Harish Chauhan
            Mar 3 at 9:14

















          • harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
            – Harish Chauhan
            Mar 3 at 9:14
















          harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
          – Harish Chauhan
          Mar 3 at 9:14





          harshit@harshit-Lenovo-G450:~$ sqlplus "/ AS SYSDBA > > then what should i do after this?
          – Harish Chauhan
          Mar 3 at 9:14


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1010081%2fi-install-sqlplus-in-ubuntu-16-04-but-at-last%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491