Wildcard for additional allowed MySQL databases

hello.

I’ve setup Webmin + Virtualmin GPL on ubuntu server. I tried to enable unlimited database for user but I can’t find the “Wildcard for additional allowed MySQL databases” in server template. Anybody can help me with this?

I guess I’ll leave it blank since I have no idea what it is supposed to do. I didn’t know that regular expressions are allowed in names and other ‘text’ boxes… Seems that some expand variables and some do not. I’d assume those that don’t also won’t handle regular expressions.

Thanks for the help,
tony

Hi Eric,

Can you explain what this field is intended to do? Since it’s not documented and I don’t want to guess, it would be helpful to know.

Well, that’s why I suggested filing a feature request to get it explained in more detail, as I’m really not sure exactly what they want in that field :slight_smile:

I mean, it sounds as if you would use regular expression-like syntax in order to restrict how your users may name databases.

Beyond that, I’m really not sure, unfortunately. But you can file a request for more info here if you like:

http://www.virtualmin.com/bug-tracker/

Hrm, I have no idea where that is anymore :slight_smile:

After poking around for a few minutes, I don’t see it. I’d recommend opening a ticket using the Bugs and Issues link, and asking about it there.
-Eric

This option was deprecated and will only be displayed for cases where the account already has it set.

Limits are configured in Account Plans, and the prefix for database names (which makes them unique) is in Server Templates.

If that doesn’t point you in the right direction, maybe you can tell us what you’re trying to accomplish with the old wildcard feature, and we’ll try to guide you towards a solution using the new methods.

Since the forum helpfully bounced me over here after replying on an unrelated thread with the exact same name, I’ll mention that this option ended up being deprecated (possibly in response to the ticket that this thread spawned). Sounds like it was a bad idea all around, since it generated nothing but confusion.

hi there Joe, I just found out I can’t view my own thread with the same name. Hos can I view it?

By the way, since the function is no more there, how do I enable Wildcard for the database?

By the way, since the function is no more there, how do I enable Wildcard for the database?

You don’t. My reply in the other thread was to mention that limits are set in Account Plans and you can set a prefix for names in Server Templates.

And, I asked what you were trying to accomplish that you wanted to use wildcards for…maybe we can point you in the right direction on implementing it without wildcards. (Note that unique names are already assured by Virtualmin, and prefixes can be enabled to make names include a specific string. And ownership, of course, is also handled by Virtualmin.)

i was actually trying to give permission to create database to user. something like available in cpanel. I know this can be achieve in phpmyadmin.

Hey Tony,

Yeah, that field is a little vague – I might even suggest filing a feature request in the Bugs and Issues tracker asking for more documentation.

However, you might try something like this:

\w{1,20}

Which is regular expression syntax for "a word character that can appear 1-20 times".
-Eric

Hey Tony,

Yeah, that field is a little vague – I might even suggest filing a feature request in the Bugs and Issues tracker asking for more documentation.

However, you might try something like this:

\w{1,20}

Which is regular expression syntax for "a word character that can appear 1-20 times".
-Eric