lundi 8 novembre 2021

Laraval storage:link command failing because of Database Error

When I am executing the below command in Laraval

php artisan storage:link

It throws a database connection error

 Illuminate\Database\QueryException  : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings`)
 at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669

I don't see any relation between storage:link command and database connection. Just want to understand what exactly can be wrong here.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire