Can't find local database
I'm trying to install Perch locally to begin developing a site. I've got a Virtual Host running alongside MAMP and can see my html webpages ok. I've setup a MySQL database using MAMP but both the Compatibility Test and Perch can't connect to the database and I'm not sure why. I have not touched the default MySQL information in MAMP. Any ideas pleasE?