Forum
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?
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
What value are you using for the 'Server' field? Should be either
localhost
or127.0.0.1
I was using localhost, but just tried the IP address and that worked! Thanks.