title: Laravel showing "Failed to clear cache. Make sure you have the appropriate permissions"
body: <p>Laravel was displaying to me "Access denied for user 'homestead'@'localhost' (using password: YES)". One solution for this was clearing the cache and the config cache stored, all this with these three commands:</p>
  
  <pre><code>php artisan cache:clear
  php artisan config:clear
  php artisan config:cache
  </code></pre>
  
  <p>After <code>php artisan cache:clear</code>, terminal says:</p>
  
  <p><code>Failed to clear cache. Make sure you have the appropriate permissions.</code> (with red background)</p>
  
  <p>Doing the second and third code (<code>php artisan config:clear</code> and <code>php artisan config:cache</code>) works fine! But it still gives me the error when typing the first line. Can anyone explain why? </p>