I run a small web development company and we run multiple production servers, each with their own MySQL database server. I'm trying to figure out the best way of giving access to these separate MySQL instances to my team.
I've set up phpMyAdmin on one server, and setting up the different DB hosts is pretty straightforward on the face of it, using cookie based auth to log in to all of them.
The problem with this approach is that we'll then need to maintain user accounts for each team member on each server. This then creates a headache for password management, as well as on- and off-boarding of employees.
What I want to do is to use the signon authentication provided by phpMyAdmin so we only have to maintain a single set of user privileges. It feels like we should be able to use the framework of our existing PHP apps to do this, and I've been digging around in the example signon.php and signon-script.php files to try to make this work.
I have so far failed. So my questions are:
- Has anyone got experience of setting this up and can point me to the best way of doing it, or some better documentation than phpMyAdmin provides?
- Does anyone know a good open source project that will provide this functionality as a little stand-alone PHP application?
I also thought for a bit about using config based auth and then putting Apache's HTTP Basic Auth on top of that, but the drawbacks of that are well documented. Any suggestions appreciated.