I deployed the repo from GitHub : https://github.com/hariprabhu08/hospitalMS/
when I try to deploy I got the error :
[2024-06-22 01:40:50] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations and table_type = 'BASE TABLE') {"exception":"[object] (Illuminate\Database\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations and table_type = 'BASE TABLE') at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712)
what’s the cause of the connection refused, the deployment completed and shows it’s live but I the app isn’t run in particular url after deployment.
server error code : 500
render deploy url : https://hospitalms-xs0a.onrender.com
I did some modification referred by the web, not worked.
reach out the to the officials in render support, they suggest to ask in the community 🙂
hari prabhu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.