OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: Error Removing Anonymous Accounts

From: Gavin Towey (gtoweyffn.com)
Date: Thu Mar 11 2010 - 14:56:14 CST



DROP USER '''localhost';

If you use the correct GRANT/REVOKE and CREATE/DROP commands it's not necessary to update the tables and run FLUSH PRIVILEGES. IMO manipulating those tables directly is a bad habit.

-----Original Message-----
From: Carlos Mennens [mailto:carloswillgmail.com]
Sent: Thursday, March 11, 2010 8:32 AM
To: MySQL
Subject: Re: Error Removing Anonymous Accounts

On Thu, Mar 11, 2010 at 11:29 AM, Rolando Edwards
<redwardslogicworks.net> wrote:
> DELETE FROM mysql.user WHERE user='';
> FLUSH PRIVILEGES;

That worked and I thank you however I am wondering why the MySQL guide
was incorrect? Perhaps it's right but I did something wrong. Any
thoughts?

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gtoweyffn.com


This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you are notified that reviewing, disseminating, disclosing, copying or distributing this e-mail is strictly prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any loss or damage caused by viruses or errors or omissions in the contents of this message, which arise as a result of e-mail transmission. [FriendFinder Networks, Inc., 220 Humbolt court, Sunnyvale, CA 94089, USA, FriendFinder.com