title: how can I solve laravel php artisan migrate error problem?
body: <p>I'm using laravel socialite to make facebook login, following this website: <a href="https://www.sitepoint.com/easily-add-social-logins-to-your-app-with-socialite/" rel="noreferrer">Social Logins with Socialite</a></p>
  
  <p>as soon as I type a command in the terminal:</p>
  
  <pre><code>php artisan migrate
  </code></pre>
  
  <p>This shows the error:</p>
  
  <blockquote>
    <p>Illuminate\Database\QueryException  : SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')</p>
  </blockquote>