Slide 17
Slide 17 text
openark.org
Copyright © Shlomi Noach, 2011. All rights reserved
openark-kit MySQL utilities for everyday use
17
oak-security-audit
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,FILE,LOCK TABLES
ON xampp.* TO 'web_user'@'%.local';
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,FILE,LOCK TABLES
ON app.* TO 'web_user'@'%.local';
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,FILE,LOCK TABLES
ON interfaces.* TO 'web_user'@'%.local';
… the list goes on …
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,FILE,LOCK TABLES
ON analytics.* TO 'web_user'@'%.local';
… and on …
Too much to type. Take a shortcut:
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,FILE,LOCK TABLES
ON *.* TO 'web_user'@'%.local';
Common shortcut pattern: