Reset MySQL Password on Linux Dedicated Server
Friday, June 27th, 2008- Stop MySQL and restart in Safe Mode
service mysqld stop
killall mysqld
mysqld_safe –skip-grant-tables&
- Reset Admin Password and Permissions
- mysql psa -e “flush privileges; grant all privileges on *.* to ‘admin’@'localhost’ identified by “password”
- Replace Password
- Stop Safe Mode and Restart MySQL
killall mysqld
service mysqld start