Completely reset mysql server authentication

Posted by p3dro-sola on Server Fault See other posts from Server Fault or by p3dro-sola
Published on 2010-05-20T04:00:47Z Indexed on 2010/05/20 4:10 UTC
Read the original article Hit count: 481

Filed under:
|
|

I was trying to change the password for a user on a mysql server, and i appear to have locked myself out.

I have access to the root user, but root doesn't have the privileges to access any databses, including the 'mysql' database where all the config is kept.

Is there any way i can 'reset' the root user? (i have full file-system access) ... or do i just need to reinstall (can i salvage my data?)

Thanks. -Ped

© Server Fault or respective owner

Related posts about mysql

Related posts about mysql-server