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

后端 未结 12 2278
逝去的感伤
逝去的感伤 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:10

    If the data directory doesn't exist under (storage/framework/cache/data), then you will have this error.

    This data directory doesn't exist by default on a fresh/new installation.

    Creating the data directory manually at (storage/framework/cache) should fix this issue.

提交回复
热议问题