title: Ubuntu Mysql Uninstall / Reinstall
body: <p>I have a Mysql installation I'd like to remove and reinstall, running Ubuntu 14.04 on a LAMP stack.  The passwords are all messed up, phpmyadmin isn't installing correctly...  I just want a restart.</p>
  
  <p>the command..</p>
  
  <pre><code>sudo apt-get --purge remove mysql-server mysql-common mysql-client
  </code></pre>
  
  <p>is returning the following error...</p>
  
  <pre><code>E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
  </code></pre>
  
  <p>I'm having a real hard time trying to figure out what to do with this.</p>
  
  <p>this command...</p>
  
  <pre><code>sudo dpkg-reconfigure mysql-server-14.14
  </code></pre>
  
  <p>tells me...</p>
  
  <pre><code>package 'mysql-server-14.14' is not installed and no information is available
  </code></pre>
  
  <p>While..</p>
  
  <pre><code>mysql --version
  </code></pre>
  
  <p>tells me...</p>
  
  <pre><code>mysql  Ver 14.14 Distrib 5.5.40, for debian-linux-gnu (x86_64) using readline 6.3
  </code></pre>
  
  <p>Any ideas how i can wipe this clean and restart? </p>
  
  <p>thank you.</p>