mysql database name choice, and number...

Hello,

I am running a test server under ubuntu 14.04LTS, webmin 1.730, with virtualmin 4.13 gpl.

When I create a virtual server, instead of having a template for a database name, i would like a dialog that asks for the number of databases to create, and a database name for each. Is there such an option?

Thanks in advance…

–jason

Howdy,

Unfortunately, there isn’t a way to ask what databases to create during the setup process – it just creates the one, and to make more you’d need to do so by going into Edit Databases and choosing the “New Database” option.

If you wanted, you could use the command line or remote API to do that though. For example, you could write a script which calls “virtualmin create-database” with the appropriate parameters.

-Eric