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

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

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

You may have to specify a connection socket in your config or use 127.0.0.1 as your DB_HOST rather than localhost
Posted by: Guest on October-27-2020

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

Browse Popular Code Answers by Language