http://www.mysql.com/doc/R/e/Resetting_permissions.html

after starting mysql with the --skip-grant-tables,  you'll have to execute a grant 
statement 

http://www.mysql.com/doc/G/R/GRANT.html

GRANT ALL PRIVILEGES ON *.* TO root@localhost INDENTIFIED BY 'somepassword' WITH GRANT 
OPTION;

then restart mysql without the --skip-grant-tables.

thanks,

-- Andrew

> -----Original Message-----
> From: dick idod [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 11, 2002 3:23 AM
> To: [EMAIL PROTECTED]
> Subject: forget root password
> 
> 
> Hi,
> 
> I have installed mysql-3.22.22 on Linux RedHat, but
> now I have problem because I forget the root password.
> How do I solve this problem ?
> 
> TIA,
> 
> dick#
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> 
> ---------------------------------------------------------------------
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 
> ---------------------------------------------------------------------
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 

---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to