Skip to content

Initial clone and build #3

@moqca

Description

@moqca

Hello!
I was trying to build the app but came across a couple errors:

  1. the initial clone command git clone https://github.com/kareemaladawy/laravel.git errors our. Should that be https://github.com/kareemaladawy/laravel-quiz-system instead?
  2. When using the second option, getting to php artisan migrate --seed errors out as:
    SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from information_schema.tables where table_schema = quiz_system and table_name = migrations and table_type = 'BASE TABLE')

at vendor/laravel/framework/src/Illuminate/Database/Connection.php:801
797▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
798▕ );
799▕ }
800▕
➜ 801▕ throw new QueryException(
802▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
803▕ );
804▕ }
805▕ }

  +38 vendor frames

Not sure if the database is not spinning up.
Looking at .env there are several settings that need to be configured. Which ones are 100% required?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions