CMS MySQL Password Woes?
Forget a MODx/MySql database pass for a client? Me too. Thankfully, it’s easily located at
/manager/includes/config.inc.php
How about WordPress? Me too again. It’s the wp-config.php file in the root.
Speaking of these files, make sure to CHMOD them to 600 for protection.