On Wed, Nov 3, 2010 at 10:04, Mircea MITU <[email protected]> wrote: > On Tue, 2010-11-02 at 12:40 +0200, Quamis wrote: >> posibil sa poti da acces la db-uri dupa wildcard, de ex, sa poata >> creea db cu numele "gigi_*", si atat... > > nu merge
Merge, daca ii dai grant on `prefix%`.* to g...@host identified by... De notat ca _ este wildcard si inseamna "orice caracter",poate asta e o problema: Din http://dev.mysql.com/doc/refman/5.1/en/grant.html : The “_” and “%” wildcards are permitted when specifying database names in GRANT statements that grant privileges at the global or database levels. This means, for example, that if you want to use a “_” character as part of a database name, you should specify it as “\_” in the GRANT statement, to prevent the user from being able to access additional databases matching the wildcard pattern; for example, GRANT ... ON `foo\_bar`.* TO .... -- Petre. _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
