These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Where is the best place to put phpmyadmin so that I can use it for any of my website mysql databases ? on the new forum.
Several years ago this was the default on my server. Installing phpMyAdmin under any domain could access all domains if the root user and password were used. I don't know if that's because I accidentally configured MySql for user root to be able to access all databases, but that might be the place to start.
I would very much like to know how to do this too, and perhaps it could also be added to the document wiki?
In the past, I've just set this up under the primary domain of the server.
So let's say your hosting business is "example_hosting.com.
What I'd do is create a new Virtual Server named phpmyadmin.example_hosting.com, then setup phpMyAdmin in the root folder of that Virtual Server.
phpMyAdmin doesn't care where it's installed or who is logging in, so long as the user logging in is a valid database user.
So your users can all log in at phpmyadmin.example_hosting.com using their database credentials.
-Eric
That works for each user, but how can I set it up so that I can log in as "root" and get access to all accounts. I have the "allow root = yes" already set, but it still doesn't work.
I've set up root to have access to all databases under the MySql panel, both with localhost and with 127.0.0.1 and neither of those permissions worked either.
That should work out of the box... are you logging in using root's MySQL credentials, rather than root's server account credentials?
-Eric
Ironically, I was wondering about that.
Yes, it does work. I had to refresh my memory of the MySql Admin password. For others, that can be found under "Webmin -> Servers -> MySql -> "Change Administrator Password" which also shows the current password.
Thanks