It's has been a while since I created a --mysql
site, but I'm positive EE shows database credentials at the end of creation process.
However, you always can get your database info with ee site info domain.com
. If this approach fails you also can cat /var/www/domain.com/ee-config.php
.