create-database.pl does not change "-" to "_" on domains when Prefix for additional databases is set

Hi, I am using virtualmin pro on 2 servers. I have set Prefix for additional databases in default server template settings. I have a domain let's say test-domain.gr

When I call

/usr/share/webmin/virtual-server/create-database.pl --domain test-domain.gr --name testdb --type mysql

A database gets created named test-domain_testdb

In virtualmin web interface however it would be created as test_domain_testdb

I am not allowed to specify the full database name in create-database.pl (a policy II agree with), but for the moment it prevents me for setting up the correct database name from command line

Could you fix this please?

Status: 
Closed (fixed)

Comments

Thanks for pointing this out - it will be fixed in the 3.76 Virtualmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.