List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:December 3 2003 1:28pm
Subject:Re: adding first users in user table
View as plain text  
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



Thread
adding first users in user tableAdam Hardy3 Dec
  • Re: adding first users in user tableEgor Egorov3 Dec