scalablescripts / auth-api

22 stars 28 forks source link

Don't work !! #5

Open dev-uoxone opened 7 months ago

dev-uoxone commented 7 months ago
    ~/Documents/Projects/Test/JWT/auth-api-main  sudo docker exec backend /bin/sh start.sh                                                                                                           1 ✘   
Application key set successfully.

   Illuminate\Database\QueryException 

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

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678
    674▕         // If an exception occurs when attempting to run a query, we'll format the error
    675▕         // message to include the bindings with SQL, which will make this exception a
    676▕         // lot more helpful to the developer instead of just the database's errors.
    677▕         catch (Exception $e) {
  ➜ 678▕             throw new QueryException(
    679▕                 $query, $this->prepareBindings($bindings), $e
    680▕             );
    681▕         }
    682▕

      +36 vendor frames 
  37  artisan:37