- Reset password for root user
service mysql stop
mysqld_safe --skip-grant-tables &
mysql
UPDATE mysql.user SET Password=PASSWORD('NEW-PASSWORD') WHERE User='root';
# if not working, try: ALTER USER 'root'@'localhost' IDENTIFIED BY '1234'; #without mysql on debug mode ;)
FLUSH PRIVILEGES;
exit;
mysqladmin -u root -p shutdown