Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default database to sqlite #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tulik
Copy link

@tulik tulik commented Apr 21, 2018

To run application out-of-the box for users who don't have MySQL server installed and configured - it's better to use SQLite.

Otherwise php artisan migrate will result in

  [Illuminate\Database\QueryException]
  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = laravel_sample_intermediate_task_list and table_name = migration
  s)



  [PDOException]
  SQLSTATE[HY000] [2002] Connection refused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant