SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `categories` where `parent_id` is null) code example
Example: In Connection.php line 664:SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema
php artisan config:clear
php artisan migrate:install