title: Laravel(xampp) Got error while trying to migrate real website to virtual host : SQLSTATE[42S02]
body: <p>I'm new at Laravel, I got this error when I tried to migrate a real website to XAMPP sevrer </p>
  
  <p>The problem occured after I executed the following commands in the command line:</p>
  
  <pre><code>composer install 
  php artisan key:generate
  php artisan migrate 
  </code></pre>
  
  <p>In Connection.php line 664:</p>
  
  <blockquote>
    <p>SQLSTATE[42S02]: Base table or view not found: 1146 Table '&lt;mydatabase&gt;.setting' doesn't exist (SQL: select * from <code>setting</code> limit 1)</p>
  </blockquote>
  
  <p>In Connection.php line 326:</p>
  
  <blockquote>
    <p>SQLSTATE[42S02]: Base table or view not found: 1146 Table '&lt;mydatabase&gt;.setting' doesn't exist</p>
  </blockquote>