mysqldatabasecontent-management-systemconcrete5

Concrete5 SQLSTATE[HY000] [2002] No such file or directory on localhost


I'm trying to install Concrete5 on a localhost using MAMP, but every time I put it the database information, I get this error.

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

How can I solve this problem?


Solution

  • I finally solved this problem. I went into MAMP and found the MySQL port number and typed into the server box in this format: localhost:[MySQL Port].