SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = forge and table_name = default_migrations and table_type = 'BASE TABL E') code example
Example: laravel SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = testDB and table_name = migrations and table_type = 'BASE TABLE')
'unix_socket' => env('DB_SOCKET', '/Applications/MAMP/tmp/mysql/mysql.sock'),