Answers for "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')" #code: 2002"

0

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = ipris and table_name = migrations and table_type = 'BASE TABLE')

php artisan cache:clear 
php artisan config:clear
Posted by: Guest on April-15-2021
0

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'),
Posted by: Guest on March-19-2021

Code answers related to "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')" #code: 2002"

Browse Popular Code Answers by Language