I'm trying to execute the below command as root user to provide accessiblity from my application.
GRANT ALL ON communitycourts.* TO 'root'@'%' WITH GRANT OPTION;
But it returns 0 rows affected
, but when I dont see this in result of SHOW GRANTS
. Pelase help me
Best Answer
Two points to add:
flush privileges
for the changes to take effect. This is better than restarting mysql.