Databases and Username Prefix

1 post / 0 new
#1 Tue, 05/27/2008 - 07:14
fatbear

Databases and Username Prefix

I've configured Virtualmin so that users can create their own databases: Administration Options > Edit Owner Limits > Can choose database names? > Yes.

For a user that has domains foo.com and new.foo.com, where foo is the username for the account. What I want is to allow users to create their own database names, but always have the prefix of the username (foo_XXX). But, with the "Can choose database names" set to Yes, the user can create any database name. With it set to No, the menu item "Edit Databases" no longer appears in the menus. I note that Install Scripts use the prefix "foo_" for foo.com and "new_" for new.foo.com. I want "foo_" to be the prefix for all database names owned by the username foo.

How can I configure Virtualmin so that the username is always the prefix for all databases created under a user account?

Post edited by: fatbear, at: 2008/05/27 07:15<br><br>Post edited by: fatbear, at: 2008/05/27 07:17