Laravel showing “Failed to clear cache. Make sure you have the appropriate permissions”

后端 未结 12 2291
逝去的感伤
逝去的感伤 2020-12-10 00:58

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

12条回答
  •  心在旅途
    2020-12-10 01:15

    You may need to clear the autoloader with composer dump-autoload

    If that doesn't work you can manually remove the following non-tracked (usually) files to clear the autoloader and cache if they get jammed up:

    /bootstrap/cache/packages.php

    /bootstrap/cache/services.php

提交回复
热议问题