GRANT with database name wildcard in MySQL?

Posted by JR Lawhorne on Stack Overflow See other posts from Stack Overflow or by JR Lawhorne
Published on 2010-04-19T15:19:58Z Indexed on 2010/04/19 15:23 UTC
Read the original article Hit count: 432

Filed under:
|
|
|

I want to create a user 'projectA' that has the same permissions to every database named 'projectA_%'

I know its possible but MySQL doesn't like my syntax:

grant all on 'projectA_%'.* to 'projectA'@'%';

Reference: http://dev.mysql.com/doc/refman/5.1/en/grant.html

© Stack Overflow or respective owner

Related posts about mysql

Related posts about permissions