hai provato:

GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'tuapassword';