title: Mysql install and remove issues
body: <p>I installed mysql on ubuntu server and i dont know what went wrong...it didnt install a mysql root user so i tried to uninstall and start over and now i cant unistall</p>
  
  <p>i tried this</p>
  
  <pre><code>apt-get remove php5-mysql
  apt-get remove mysql-server mysql-client
  apt-get autoremove
  </code></pre>
  
  <p>but when i do </p>
  
  <pre><code>ps aux | grep mysql
  </code></pre>
  
  <blockquote>
  <pre><code>root      6066  0.0  0.0   1772   540 pts/1    S    03:21   0:00 /bin/sh /usr/bin/mysqld_safe
  mysql     7065  0.0  0.6  58936 11900 pts/1    Sl   03:33   0:00 /usr/sbin/mysqld --   basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid -- socket=/var/run/mysqld/mysqld.sock --port=3306
  root      7066  0.0  0.0   2956   688 pts/1    S    03:33   0:00 logger -t mysqld -p daemon.error
  root     22804  0.0  0.0   3056   780 pts/1    R+   04:14   0:00 grep mysql
  </code></pre>
  </blockquote>
  
  <p>so i killed the processes and then tried to reinstall like this</p>
  
  <pre><code>apt-get -f install
  sudo apt-get install mysql-server mysql-client
  sudo mysqladmin -u root -h localhost password 'root'
  </code></pre>
  
  <p>but i get this </p>
  
  <pre><code>mysqladmin: connect to server at 'localhost' failed
  error: 'Access denied for user 'root'@'localhost' (using password: NO)'
  </code></pre>
  
  <p>im confused..i keep installing and uninstalling mysql and the same result..any ideas</p>