Bonjour, j'utilise laravel 8 et mise à 9. Je n'arrive pas à me connecter à ma page administrateur.

Ce que je veux
Je veux me connecter à mon tableau de bord administrateur
Ce que j'obtiens
Illuminate\Database\QueryException

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = suk and table_name = migrations and table_type = 'BASE TABLE')

at vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }

 +39 vendor frames 

40 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

1 réponse


Vu le "Connection refused", ça doit venir de ton paramètrage BDD.
Ca peut venir de : L'utilisateur, le mot de passe, le port, l'adresse de ton serveur SQL