I have installed wampserver. i revoke the the delete privilege from root user. now i want to grant same privilege back to root user but it gives the error:
i tried the following command
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
but the command gives the
#1045 - Access denied for user 'root'@'localhost' (using password: YES)
there are two root users
root localhost
root 127.0.0.1
root localhost do not have DELETE privilege. root 127.0.0.1 have all privileges. i tried with http://127.0.0.1/phpmyadmin
but the same error occurs. is there a way to reset root user privileges.