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 <[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