Revision [3496]

Last edited on 2009-08-20 02:36:24 by WikiAdmin
Additions:
===Another way===
http://code.openark.org/blog/mysql/dangers-of-skip-grant-tables


Revision [1806]

Edited on 2008-07-14 00:21:11 by WikiAdmin
Additions:
===Resetting mysql user password===
%%
mysql> set password = password("yournewpassword");
%%


Revision [610]

Edited on 2007-05-29 02:29:35 by WikiAdmin
Additions:
1) Login to mysql and update the user table **UPDATE user SET password=null WHERE Host='localhost' AND User='root';**
1) Startup mysql normally
1) Change the root password by **mysqladmin -uroot password 'new-password'**
Deletions:
1) Login to mysql and update the user table manually
%%
UPDATE user SET Password=PASSWORD('YOUR_PASSWORD')
WHERE Host='localhost' AND User='root';
%%


Revision [609]

Edited on 2007-05-29 02:00:18 by WikiAdmin
Additions:
Mysql password can be reset by
1) Shutdown mysql
1) Start mysql with a special option **safe_mysqld --skip-grant-tables**
1) Login to mysql and update the user table manually
Deletions:
1) Shutdown mysql
1) Start mysql with a special option **safe_mysqld --skip-grant-tables**
1) Login to mysql and update the user table manually


Revision [608]

Edited on 2007-05-29 01:59:49 by WikiAdmin

No differences.

Revision [607]

The oldest known version of this page was created on 2007-05-29 01:59:36 by WikiAdmin [1]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki