src/cats/grant_privileges
raw| 1 | use mysql |
| 2 | grant all privileges on *.* to kern@localhost with grant option; |
| 3 | grant all privileges on *.* to kern@"%" with grant option; |
| 4 | grant all privileges on *.* to kelvin@localhost with grant option; |
| 5 | grant all privileges on *.* to kelvin@"%" with grant option; |
| 6 | grant all privileges on *.* to bacula@localhost with grant option; |
| 7 | grant all privileges on *.* to bacula@"%" with grant option; |
| 8 | select * from user; |
| 9 | flush privileges; |
| 10 | exit |