Just setting up Sage/Bedrock without Trellis and Vagrant and am running the installation on my local machine via MAMP.
All is good except when I set my DB_HOST in the .env file, I can’t connect.
I have other non-Bedrock sites running in MAMP all of which work fine with “localhost” as the db host setting.
I’ve tried this as well as localhost:8889 as this is the port that MAMP uses for MySQL.
Any clues on how to get my wordpress installation to connect to the database?