title: sqlplus name/passwprd@orcl error:12514
body: <p>when I user  <code>sqlplus name@orcl</code> to connect to oracle,after enter password,<br>
  I just get that：  </p>
  
  <pre><code>ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
  </code></pre>
  
  <p>then, I enter username and password, and connect success
  <a href="https://i.stack.imgur.com/AFNae.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AFNae.png" alt="enter image description here"></a>  </p>
  
  <p>How to resolve it?  </p>
  
  <p>other information:<br>
  1. instance<br>
      <a href="https://i.stack.imgur.com/uyQnb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uyQnb.png" alt="enter image description here"></a><br>
  2. tnsnames.ora<br>
  <a href="https://i.stack.imgur.com/CMcpB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CMcpB.png" alt="enter image description here"></a><br>
  3. listener.ora<br>
  <a href="https://i.stack.imgur.com/HK1Ez.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HK1Ez.png" alt="enter image description here"></a></p>