Adam Hardy <adam.sql@stripped> wrote:
> I have just installed mysql following the instructions for the binary
> distro under linux and I added my root user and password using
> mysqladmin as mentioned in scripts/mysql_install_db.
>
> In the mysql.user table I see my root@localhost and root@stripped
> but I also see two entries with blank user names.
>
> | host | user
> +-------------------------+------
> | localhost | root
> | localhost |
> | harda1.myserver.com | root
> | harda1.myserver.com |
> +-------------------------+------
> 4 rows in set (0.00 sec)
>
> Have I made a mistake that inserted these 2 blank users?
No. Thay are created by default.
> Or are they there for a good reason?
Anonymous user has permissions only on the database 'test'. If you don't need this user
you can remove it.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com