I accidentally change the setting of my privileges for MySQL. When I tried to change it back, I received the following error:
1 errors were found during analysis. Unrecognized statement type. (near "GRANT" at position 0) SQL query: GRANT ALL PRIVILEGES ON . TO 'root'@'localhost' REQUIRE NONE WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0
MySQL said: Documentation #1045 -
Access denied for user 'root'@'localhost' (using password: NO).
How can I resolve this?