Resetting the MYSQL password 6.06

jalak ulist at gs1.ubuntuforums.org
Mon Sep 18 04:42:08 UTC 2006


Ok, here we go.. this is how you completely reset the mysql password..



  

- Stop the Mysql Proccess. ( /etc/init.d/mysql stop )

- Rename the folder /var/lib/mysql/mysql to mysql- or something
  similiar

- Run the command mysql-install-db

- If you get the debian-sys-maint password failure, use PHPMyAdmin to
  look at the password in the database of mysql- and create the
  'debian-sys-maint' user for localhost, with all graint premissions 
  in the database mysql and the password in the mysql- database.


-- 
jalak




More information about the ubuntu-users mailing list