[Bast-commits] r6342 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Wed May 20 03:11:13 GMT 2009
Author: caelum
Date: 2009-05-20 03:11:12 +0000 (Wed, 20 May 2009)
New Revision: 6342
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod
Log:
add mysql lost password faq
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod 2009-05-20 00:56:57 UTC (rev 6341)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod 2009-05-20 03:11:12 UTC (rev 6342)
@@ -571,4 +571,19 @@
You can chance the port setting in C<postgresql.conf>.
+=item I've lost or forgotten my mysql password
+
+Stop mysqld and restart it with the --skip-grant-tables option.
+
+Issue the following statements in the mysql client.
+
+ UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
+ FLUSH PRIVILEGES;
+
+Restart mysql.
+
+Taken from:
+
+L<http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html>.
+
=back
More information about the Bast-commits
mailing list