How to delete a user from MySQL;

First check the users that exsist by doing the following at MySQL prompt: select user, host from mysql.user; Then to delete a user from MySQL do the following at the MySQL> prompt delete from mysql.user where user='useryouwanttodelete' and host='localhost'; As a last step do a flush previleges by typing the following at MySQL> flush privileges;