After a day of digging through forums and google I'm still not getting past the issue I'm having.
I can't install composer dependencies without this error, and when I install without dependencies I get the same Artisan error when trying to deploy.
Generating autoload files
php artisan clear-compiled
[PDOException]
SQLSTATE[HY000] [2002] No such file or directory
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output:
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] []...
I have the correct SSH keys, and everything is connected according to Forge dashboard.
I've seen a lot of articles referring to the composer.lock file, but none of those resolutions helped or even altered my case.
Everything has lead me to guessing it's a php socket issue. I'm using a MAMP setup rather than homestead.
I have created a database and ran migrations for my project just fine.
Pretty new to all this, so even a lot of the remedies are confusing me at this point.
Thank you!