在Heroku中禁止访问

时间:2019-07-26 13:30:47

标签: laravel heroku heroku-cli

我的应用程序托管在Heroku中并使用Mysql ClearDB,并且我的应用程序是在laravel下构建的,可以很好地访问它,但是当我尝试访问其中一个URL时

You don't have permission to access /bundles/ on this server.

当我运行命令时

heroku run php artisan clear:cache

我遇到错误

Failed to clear cache. Make sure you have the appropriate permissions.

当我尝试运行命令时,

heroku run php artisan db:seed

我在下面遇到错误

 SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'XXXXXXXX'@'ec2-XXXX.amazonaws.com' for  table 'model_has_roles' (SQL: insert into `model_has_roles` (`model_id`, ` model_type`, `role_id`) values (1, App\User, 11)) 

这是什么问题

0 个答案:

没有答案
相关问题