List:General Discussion« Previous MessageNext Message »
From:James Carrier Date:April 30 2002 5:07pm
Subject:Re: lost root password trouble
View as plain text  
Hi Nick

It'll be something like:

/usr/bin/safe_mysqld  --defaults-file=/etc/my.cnf --skip-grant-tables

Cheers

james


Nick Wilson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi everyone,
> I have searched the archives and read the manual but am at a loss as to
> how to get my root password back (or change it)
> 
> The trick appears to be to start mysqld with --skip-grant-tables but I
> can't seem to do it. Here is what I've done:
> 
> (running on Linux)
> service mysqld stop
> 
> /etc/init.d/mysqld --skip-grant-tables // no joy
> /usr/libexec/mysqld --skip-grant-tables // no joy
> service mysqld --skip-grant-tables start // no joy
> 
> I'd appreciate a little help :-)
> - -- 
> Nick Wilson     // www.tioka.com
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> 
> iD8DBQE8zsnVHpvrrTa6L5oRAlV8AJ49K4qam8eUlJRJVflSNxIohhZ5ZQCfeDyt
> ZyaEmEOvoQQZ1KUpffdIino=
> =+qj5
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> 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-thread107613@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-james.carrier=bulletonline.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> .
> 


Thread
lost root password troubleNick Wilson30 Apr
  • Re: lost root password troubleJames Carrier30 Apr
    • Re: lost root password troubleNick Wilson30 Apr
      • RE: lost root password troubleGurhan Ozen30 Apr
        • Re: lost root password troubleNick Wilson30 Apr
          • RE: lost root password troubleGurhan Ozen30 Apr
        • MyODBC QuestionDavid M. Peak30 Apr
          • RE: MyODBC QuestionVenu30 Apr
            • Re: MyODBC QuestionDavid M. Peak30 Apr
              • RE: MyODBC QuestionVenu30 Apr
                • Re: MyODBC QuestionDavid M. Peak30 Apr
                  • RE: MyODBC QuestionVenu1 May
  • Re: lost root password troubleGerald Clark30 Apr
    • Re: lost root password troubleNick Wilson30 Apr
  • Re: lost root password troubleScott Helms30 Apr
  • Re: lost root password troubleJames Carrier30 Apr
    • Re: lost root password troubleNick Wilson30 Apr
  • Re: lost root password troubleJames Carrier30 Apr
    • Re: lost root password troubleNick Wilson30 Apr
Re: lost root password troubleJames Carrier30 Apr
Re: MyODBC QuestionDavid M. Peak7 May