On the command line, i'm getting a:
[PDOException] SQLSTATE[HY000] [2002] No such file or directory
after accidentally deleting composer.lock file. This happens after composer updates or when I run php artisan commands.
The site still works fine and it is reading data from the database. Tried deleting vendor folder and composer.lock file then running composer install/update, composer dumpautoload, restarted homestead and everything else I can think of, but still can't get rid of this error.
Thanks.
EDIT. Note, If I ssh into my Homestead vagrant box, the PHP artisan command works without errors.