douyong1886 2016-04-06 01:58
浏览 39

Laravel 5.2项目工匠错误

I have Laravel 5.2 project and when I'm trying to install it to my home computer, I have some troubles with it. All steps what I do are next below:

First I clone project by command:

git clone https://bitbucket.org/.../...

Then I try to install project requires by command

composer install

and have this error

[PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO)

After creating and configuring .env file a have next error

[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_db.tasks' doesn't exist (SQL: select * from `tasks` where `tasks`.`deleted_at` is null)

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_db.tasks' doesn't exist

And now when I try to make any php artisan command I have this error.

I found at Laracasts that I have to comment all my own ServiceProvider but that did not solve my problem.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 树莓派与pix飞控通信
    • ¥15 自动转发微信群信息到另外一个微信群
    • ¥15 outlook无法配置成功
    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题