Thread tagged as: Problem, Error, Installation

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?

Phil Bowell

Phil Bowell 0 points

  • 6 years ago

This is the error message the Compatibility Test shows, but I MAMPs phpMyAdmin shows it exists.

Error message SQLSTATE[HY000] [2002] No such file or directory

Drew McLellan

Drew McLellan 2638 points
Perch Support

What value are you using for the 'Server' field? Should be either localhost or

I was using localhost, but just tried the IP address and that worked! Thanks.