Wildcard for additional allowed MySQL databases

12 posts / 0 new
Last post
#1 Thu, 04/09/2009 - 01:06
tbirnseth

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?

Sun, 06/07/2009 - 07:32
andreychek

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

Sun, 06/07/2009 - 07:32
andreychek

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

Mon, 11/17/2008 - 05:59
tbirnseth

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

Thu, 11/20/2008 - 07:51 (Reply to #4)
tbirnseth

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.

Thu, 11/20/2008 - 08:00 (Reply to #5)
andreychek

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 :-)

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/

Thu, 04/09/2009 - 08:50 (Reply to #6)
Joe
Joe's picture

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.

--

Check out the forum guidelines!

Thu, 04/09/2009 - 09:51 (Reply to #7)
chenhaw

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?

Thu, 04/09/2009 - 10:16 (Reply to #8)
Joe
Joe's picture

<div class='quote'>By the way, since the function is no more there, how do I enable Wildcard for the database?</div>

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.)

--

Check out the forum guidelines!

Thu, 04/09/2009 - 10:52 (Reply to #9)
chenhaw

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.

Thu, 04/09/2009 - 03:47
andreychek

Hrm, I have no idea where that is anymore :-)

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

Thu, 04/09/2009 - 08:47
Joe
Joe's picture

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.

--

Check out the forum guidelines!

Topic locked