$ mysql -u root -p
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
I did sudo-apt-get install mysql-server.
I entered a blank for the root password when prompted.
However I'm unable to get into mysql using
mysql - u root
I tried uninstalling again and reinstalling and also using
sudo service mysql stop
sudo dpkg-reconfigure mysql-server-5.5
sudo dpkg-reconfigure mysql-server-5.5 --force
but it did not ask me to set the root password (screen never came up) and I am still being asked for it in mysql