Basic MySQL Security
After installing MySQL
Set the root passwoord using mysqladmin -u root password new-password
login as root and run the following comands
drop database test;
use mysql;
delete from db;
delete from user where not (host="localhost" and user="root");
flush privileges;