When I upload Laravel website form local to live server that I face this error
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `sessions` where `id` = E70KsnO9rKtK9ATW71zmd9AfGW1ek7nAhnD2wQjS limit 1)
When I upload Laravel website form local to live server that I face this error
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `sessions` where `id` = E70KsnO9rKtK9ATW71zmd9AfGW1ek7nAhnD2wQjS limit 1)
2
Answers
Please Check All of your Database connection From .env File
Well, that’s a list of things you have to check.