title: How to connect to newly created database on oracle ?
body: <p>I am using oracle on my local machine. i was using predefined databases and schema like <strong>scott</strong> of sysdba. yesterday i have created a database through database configuration assistant, now i am trying to connect to that new database by putting username and password through sysdba like;</p>
  
  <pre><code>SQL&gt; connect username/password
  </code></pre>
  
  <p>but it gives</p>
  
  <blockquote>
    <p>ERROR:
    ORA-01017: invalid username/password; logon denied;</p>
    
    <p>WARNING: you are no longer connected to ORACLE.</p>
  </blockquote>
  
  <p>i have tried searching on google and there are many answers but nothing is relevant and didn't solve my problem. </p>
  
  <ul>
  <li>how can i connect to that database which i have created ?</li>
  <li>do i have to make a user for that database through sysdba ?</li>
  <li>do i have to grant any privileges to access that database ?</li>
  </ul>
  
  <p>please do tell me if i'm missing something as i am a noob on oracle. i need to connect to that database because i have to make tablespaces and users in that database.</p>
  
  <blockquote>
    <p>PS: I have investigated, and the newly created database exist in sysdba databases.</p>
  </blockquote>