I just used Virtualmin's script installer to install phpmyadmin in a subdirectory of a domain. It works.
I wonder now if there would be a way to give this precise PhpMyAdmin rights on ALL the databases of the server, and not just the database associated with the virtual server only ? ( The context, not necessary for the present topic, is: https://www.virtualmin.com/comment/755824#comment-755824 )
Do you think that would be possible ?
I ran a text search among the files of the phpmyadmin installed by virtualmin, and found no mention of the username, so that means the credentials are stored (and loaded from) elsewhere. Too bad, I could have replaced them with root:password otherwise, haha.
Thanks if you have an idea about it!