SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = demo and table_name = migrations and table_type = 'BASE TABLE') 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