MySQL Forums
Forum List  »  Newbie

Re: can not change password for root-user
Posted by: Claude Martin
Date: March 28, 2005 03:51AM

> Anyone else that have some useful info on how to
> fix this? (thanks a million)

1. shut down mysql (kill the process if you cant shut down - you should get the pid from the datadir: kill `var/lib/mysql/your_host_name.pid` )
2. mysqld_safe --skip-grant-tables &
3. mysqladmin -u root flush-privileges password "new_pass_here"

i also found this by google:
http://me.in-berlin.de/doc/mysql-doc/manual_Problems.html#Resetting_permissions

http://animalliberation.tk http://veganismus.ch
http://maqi.de http://tierrechtskochbuch.de

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.