For that to work, you'd want to make sure the "MySQL Database Enabled" feature is checked in "Edit Virtual Server".
Additionally, look in Administration Options -> Edit Owner Limits, and make sure they haven't reached the database limit set in "Maximum allowed databases".
And lastly, on that same screen, look in "Allowed capabilities and features", and make sure that "Can manage databases" is checked.
Ref:
https://www.virtualmin.com/node/18161
Article ID: 64
Created On: Thu, Feb 4, 2021 at 3:50 PM
Last Updated On: Thu, Feb 4, 2021 at 3:50 PM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/allow-user-to-create-database-in-a-virtual-domain-64.html