MySQL and virtual domain quota limit

MySQL databases created through Virtualmin are set sgid, presumably to track it's quota use

drws--S---  2 mysql music       4096 Jun  6 12:46 music

Virtual domains that have reached their quota limit cause MySQL to fail to start with an error like:

Error: Write to file ./music/wp_postmeta.ibd failed at offset 0 819200

Someone didn't think their cunning plan all the way through.

Status: 
Active

Comments

Correct, the group owner of MySQL database files is set to match the domain. This should just cause writes to that one DB to fail, and not block the startup of the server - if that happens, it seems like a MySQL bug to me.