I would like it where phpMyAdmin was directly available from within Virtualmin (via the menu) for that particular user without the need to use a password. This would work just like it does in cPanel and would only require 1 installation of the script.
There would possible need to settable controls over the features and options of phpMyAdmin.
This would complement the new additional MySQL Pro feature.
There are several ways to install phpMyAdmin in one place and make it available for all your clients currently.
I like everything for free , however I could see this being a good Pro feature.
When you install Pro, every account can have phpMyadmin “installed” or linked back to a single copy of the script all managed by Virtualmin. No manual installation would be required.
That’s not “one install for everyone”, it’s one install per domain, and it doesn’t automatically log users in.
For “one install for everyone”…I think you can just do that? You could also add a link in the menu, using Custom Links. Though that still doesn’t handle automatic login. I’m not sure how we’d go about that, since phpMyAdmin has its own authentication.
I’m not familiar enough with phpMyAdmin to make recommendations, though, as I only use the Webmin database UI (or the command line client).
I tend to use the maintainers version of phpmyadmin rather than the install script, for example Ubuntu would be
apt install phpmyadmin
if the web server is apache a config file is added to apache to make this accessible to every domain hosted, there is a problem with that because if a domain’s php version is perhaps below the target version of php that phpmyadmin was installed for it fails (incorrect php version). as to getting auto login you have to edit phpmyadmin’s config and add something like this to it
$cfg['LoginCookieValidity'] = 10000; // Keep long validity :)-
$cfg['Servers'][$i]['user'] = 'root'; // Your user name
$cfg['Servers'][$i]['password'] = 'root'; // Your password
$cfg['Servers'][$i]['auth_type'] = 'config';
however you would have to use something like this to get the current user name
where you would get the password from I have no idea, this also assumes the the domain owner is also the mysql user for each installed domain
EDIT:
In theory I guess you could send the password as part of the url by adding something like