I am logged into mysql...
mysql -u root -pmypass
And I have run the following command to remove the database user which worked succesfully
i will suggest you to use phpmyadmin its very esey do do with that.
steps:
that's all see in action on youtube [ click here ]
You have to manualy remove records with from mysql.tables_priv also.
drop user 'username@localhost '
Check following 2 tables if user is still there after DROP USER command: mysql.user and mysql.db.
Delete user from both, then run FLUSH PRIVILEGES and then you can recreate the user.
This is a bug reported here - http://bugs.mysql.com/bug.php?id=28331
See if your user exists after you drop it.