7 months ago
URGENT, please help! I'm trying to host my laravel website that uses tailwind CSS. I've encountered some errors that I can fix, but i can't fix this one. Please check my deployment, is there anything i did wrong? Or is there any part of the code I can fix?
This is the error message when I access the public link:
Internal Server Error
SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = AvbrmpsFsg0ZYG6oMa5JrekWGj50uPXwKiS9ASH7 limit 1)
3 Replies
7 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 error connecting sql while deploying laravel 11 project on railway
🧵 Laravel + MySQL: "Connection refused" despite successful netcat connection
If you find the answer from one of these, please let us know by solving the thread!
7 months ago
I have the same error! We need human (railway agent) response please!
7 months ago
Check your .env or your variable, make sure you have migration from localhost to domain