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