SQLSTATE[HY000] [2002] Connection timed out (SQL: select * from information_schema.tables where table_schema = dreamfactory and table_name = migrations and table_type = 'BASE TABLE') code example
Example: 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