469,090 Members | 1,099 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,090 developers. It's quick & easy.

Wildcards in DB name using GRANT

Hello,

What is wrong with my syntax here

GRANT ALL ON `user\_`'%'.* TO user@localhost ;

The Mysql Page says...
<--snip-->
"the `_' and `%' wildcards are allowed when specifying database names
in GRANT commands. This means that if you wish to use for instance a
`_' character as part of a database name, you should specify it as
`\_' in the GRANT command, to prevent the user from being able to
access additional databases matching the wildcard pattern..."
</--snip-->

THX_advance
_terrac
Jul 19 '05 #1
0 1895

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Terrac | last post: by
1 post views Thread by Ralph Noble | last post: by
reply views Thread by Adrian Klaver | last post: by
6 posts views Thread by Andy | last post: by
6 posts views Thread by Grant Robertson | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.