If you have a PrestaShop site files and want to know where the database details are, you can open the config directory of PrestaShop and look for settings.inc.php file and there you are/..

/config/settings.inc.php define(‘_DB_NAME_’, ‘userna5_pstest1’);