8 lines
309 B
MySQL
8 lines
309 B
MySQL
|
/*12. How to Grant permission to a user so that (s)he can execute not more than a specific number of queries in an hour.
|
||
|
*/
|
||
|
|
||
|
create user steffi@localhost identified by 'mypassword';
|
||
|
grant select on posts.* to steffi@localhost
|
||
|
identified by 'mypassword' with MAX_QUERIES_PER_HOUR 50;
|
||
|
flush privileges;
|