XF 1.4 Database/user/password name - which file?

I'm trying to sort out an own goal & need to reinstate a database to my test site. I don't have a record of the db name, user & password. Is there a file within the installation that records these details?