Doctrine生成/ symfony2

时间:2016-07-11 13:00:37

标签: symfony doctrine-orm

你好,我有一个问题,我学习symfony,当我尝试生成学说时,我得到了这个错误。我看谷歌,但没有解决方案帮助我。

screenshot

1 个答案:

答案 0 :(得分:0)

It appears that you might have misconfigured Doctrine's DB connection parameters. Double-check your parameters.yml's database_* options and make sure these are valid for your database.

Also, perhaps you could be a bit more specific in the question: what command did you run, exactly?