I have a problem.
I am creating a mysql user, and mysql will store the hashed password in user table. The problem is I dont know how to get the password back. As it is hashed, we can't get it back. If the user forgets their password, then we can't get it back. Then we have to reset the password again. I thought to save the password in some file, but would that be risky?