Merhaba geliştirdiğim blog projemi free bir hostinge yüklemek istedim dosyaları ftp yolu ile attım htaccess dosyası ile public yolunu belirttim env dosyasından gerekli mysql bilgilerine ve site urlsini girdim herşey doğru gözüküyor fakat bir hatayla karşılaştım Appservice providers dosyasında ;
$contacts = Contact::orderBy('id', 'ASC')->get();
View::share('contacts', $contacts);
View::share('settings', settings::find(1));
View::share('profiles',admin::find(1));
}
bu kod bloğunu hedef göstererek
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from contacts
order by id
asc)
hatası alıyorum bunu nasıl düzeltebilirim ?