title: MySQL password not resetting even after re-installation on Ubuntu
body: <p>I forgot my Mysql Root password.I have uninstalled Mysql using the following commands-</p>
  
  <pre><code>sudo apt-get remove --purge mysql*
  sudo apt-get autoremove
  sudo apt-get autoclean
  </code></pre>
  
  <p>After uninstalling MySQL I ran the following command to verify if MySQL was uninstalled properly-</p>
  
  <pre><code>dpkg --get-selections | grep mysql
  </code></pre>
  
  <p>Then I executed the following command to install MySQL-</p>
  
  <pre><code>sudo apt-get install mysql-server
  </code></pre>
  
  <p>I didn't get any message to set root password.
  After Executing the following command it ask's for root password which i haven't set.</p>
  
  <pre><code>mysql -u root -p
  </code></pre>
  
  <p>Please help.</p>