mysql grant user wildcard database code example
Example 1: mysql grant user wildcard database
grant all on `projectA\_%`.* to `projectA`@`%`;
Example 2: mysql grant user wildcard database
GRANT CREATE ON `foobar%`.* TO 'foobaruser'@'%' IDENTIFIED BY 'foobarpass';