good point. Phpmyadmin puts its config into nginx and apache during install. However could be that the script creating the (first) database also checks and adjusts something.
If you can reliably reproduce the behaviour please open a github issue with the steps needed to reproduce, so we can look into it