Operating system: CentOS OS version: Linux 7.8.2003 Webmin Version: 1.942 VirtualMin Version: 6.09
I want to create a new database from my web code as if a new user is signed up I want to create a new database and run a script. As running script from file seems possible but I haven’t been able to find any information about creating new database at user Sign Up.
I don’t think I understand what you’re asking, if that doc doesn’t answer your question.
What do you mean by
Both what? Account and database creation? Just create a domain using the create-domain API call…if you’ve configured Virtualmin to create a database as part of the account, it will create both the account (with website, mail, whatever) and database.