Phew.. just solved the problem, thanks falko!
What I did:
Login to MySQL:
Code:
mysql -u root -p -h 127.0.0.1
Create the root@localhost account:
Code:
use mysql;
create user root@localhost;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
commit;
FLUSH PRIVILEGES;
exit;
Restart the MySQL service to fix changes:
Code:
service mysql restart
Stop the service and start in safe mode:
Code:
service mysql stop
mysqld_safe --skip-grant-tables&
Login as root:
Change password for root:
Code:
use mysql;
UPDATE user SET Password=PASSWORD('YourNewPassword') WHERE User='root';
FLUSH PRIVILEGES;
exit;
Stop the safe mode and restart the service:
Code:
service mysql stop
service mysql start
That worked for me

Thanks for all the help!
Recent comments
1 day 7 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 9 hours ago
2 days 9 hours ago
2 days 14 hours ago
2 days 21 hours ago
2 days 22 hours ago
2 days 23 hours ago