Username epiz_27486406 - http://larablog.rf.gd/
I have transferred my laravel project to the server and made the necessary changes in the env file, but I keep getting errors. How can I fix it?
Error Message
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from contacts
order by id
asc)
Other Information
public function boot()
{
Route::resourceVerbs([
'create' => 'olustur',
'edit' => 'guncelle'
]);
$contacts = Contact::orderBy('id', 'ASC')->get();
View::share('contacts', $contacts);
View::share('settings', settings::find(1));
View::share('profiles',admin::find(1));
}