Mysql> use mysql;
create user 'username'@'%' identified by 'any_password';
grant select on reports to 'username'@'%' identified by 'any_password';
grant all on school to 'username'@'%' identified by 'any_password';
flush privileges;
Like Technology? Stay tuned.
Mysql> use mysql;
create user 'username'@'%' identified by 'any_password';
grant select on reports to 'username'@'%' identified by 'any_password';
grant all on school to 'username'@'%' identified by 'any_password';
flush privileges;
Correct Syntax:
ReplyDeleteGRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;