Originally Posted by till
Btw. I would still prefer if you implement i as direct user -> DB relationship and not with 3 tables, so that you have a users table and a db table and one user can access one or more databases. This woould fit into the form framework better, is simpler to understand for the user.
I get your point but I think it is much more useful to have multiple users for one database than having multiple databases for each user.
I know it is easier using phpmyadmin because you have a listing of all databases of the user, but I still believe it is lot more benefit having read-only user(s) to access a database.
So if you want to have multiple databases for a user and multiple users for a database I think there is no way to manage this using only 2 tables, although it would fit better into the form framework. Don't you agree?