A password alone leaves a database administration session dependent on one reusable secret. phpMyAdmin can require a time-based one-time password (TOTP) from an authenticator app after the database password is accepted, adding a per-user second factor to cookie-authentication logins.
phpMyAdmin stores each user's two-factor preference in configuration storage. Configuration storage must already be enabled, and enrollment must begin in the account being protected; the setting does not enable two-factor authentication for other phpMyAdmin users.
The enrollment QR code and displayed seed contain the same reusable secret. A separate administrator or tested recovery path should be available in case the enrolled authenticator device is lost.




The QR code and Secret/key value provision the same reusable factor; screenshots, tickets, and chat messages are unsafe storage for either value.









