--skip-grant-tables
byadding
skip-grant-tables
to /etc/mysql/my.cnf
and restarting mysql.Still if there's an error , and you just can't run mysql :
$ mysql --password
* Enter password, and you can create db, manage users e.t.c
Source of wisdom : LINK
0 comments :
Post a Comment
Comment: