List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 9 2001 2:11pm
Subject:Re: Deleted user
View as plain text  
THe manual recommends restarting the server with --skip-grants.
Fix your user table, and flush privileges to reload the grant tables.

Bob Dushok wrote:
> 
> I've made a stupid error.  While logged in as root I was deleting
> records from the user table.  Someone was talking to me while I was
> entering a command and I didn't realize what I entered until it was too
> late.  I entered:
> delete from user where user='root';
> 
> I immediately used an insert statement to re-insert the root entry, but
> it's not working.  I can still log in as root but appear to have lost
> access to the mysql database.
> 
> Is there any way to recover?
> 
> Thanks,
> Bob
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread70956@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Deleted userBob Dushok9 Apr
  • RE: Deleted userMate Visky9 Apr
  • Re: Deleted userRenĂ© Tegel9 Apr
  • Re: Deleted userGerald Clark9 Apr