Storing MySQL Passwords
Your question embodies a contradiction in terms. Either you don't want reversibility or you do. You will have to choose.
The usual technique is to hash the passwords and to provide a way for the user to reset his own password on sufficient alternative proof of identity. You should never display a password to anybody, for legal non-repudiability reasons. If you don't know what that means, ask a lawyer.
So, a friend and I are currently writing a panel (in python/django) for managing gameservers.
Each client also gets a MySQL server with their game server. What we are stuck on at the moment is how clients will find out their MySQL password and how it will be 'stored'.
The passwords would be generated randomly and presented to the user in the panel, however, we obviously don't want them to be stored in plaintext or reversible encryption, so we are unsure what to do if a a client forgets their password.
Resetting the password is something we would try to avoid as some clients may reset the password while the gameserver is still trying to use it, which could cause corruption and crashes.
What would be a secure (but without sacrificing ease of use for the clients) way to go about this?