title: How to change password of a database in DB2 software of IBM?
body: <p>However, it seems very trivial - How to get the current username of  a database in DB2 software in IBM; But, trust me, when it comes to entering the database username and password while connecting DB2 with eclipse, you might have to wait for a time which is tediously long. <strong>Let's get straight to the point</strong>:-</p>
  
  <p>This is how you get the username of a database in DB2.</p>
  
  <ol>
  <li>open <strong>DB2 Command Line Processor</strong> .</li>
  <li><p>Connect to your database:-</p>
  
  <pre><code>     db2 =&gt; connect to &lt;database_name&gt;
  </code></pre></li>
  <li><p>Enter this query in db2 clp:-</p>
  
  <pre><code>     db2 =&gt;  SELECT CURRENT USER FROM SYSIBM.SYSDUMMY1
  </code></pre></li>
  <li><p>You'll get the current user name of the current database that you have accessed.</p></li>
  </ol>
  
  <p>Now, <strong>the main problem is</strong> :- How to get / change the password if one has forgotten the password. And, What is the difference between database password and the one that i entered while installing DB2 ?</p>