Translations:Manual:Installing MediaWiki/105/en

MySQL/MariaDB on UNIX/Linux logs all queries sent to it to a file, which will include the password you used for the user account.