After the installation of MySQL will automatically create a root and an anonymous user, for root is very attention, and this anonymous user many people will ignore, presumably because the anonymous user defaults to be used only locally.
But if MySQL is to be used as a database for Web servers, ignoring this anonymous user can be costly. Because by default, this anonymous user has almost the same permissions as root on the localhost. Most likely because visitors upload a php file, use this PHP file to create a new user, and give him a higher authority, and then use this new user to connect to the server MySQL, the server's MySQL management.
The delete commands are as follows:
Mysql>update user Set Password=password (' Your password ') where user= ';
Mysql>flush privileges;
Above is the three network for you to introduce the removal of MySQL anonymous users, I hope to help you.