Security: Where are MySQL passwords stored?

MySQL passwords are stored in the user table of the mysql database and are encrypted using it's own algorithm.

You can find more information in the MySQL documentation


MySQL passwords for users are stored within MySQL itself; they are stored in the mysql.user table. The passwords are hashed by default using the PASSWORD() function, however there are other alternatives, though none are plain-text.