Troubleshooting “No such file or directory” when running `php app/console doctrine:schema:create`

后端 未结 12 1269
臣服心动
臣服心动 2020-12-04 23:35

I am new to Symfony2 (beta4) and Doctrine and am having issues when i try to create the DB schema via command line.

Here\'s the error:

$ php app/cons         


        
12条回答
  •  無奈伤痛
    2020-12-05 00:38

    Too late but hope it can help someone as well.

    I am using Vagrant

    Just change localhost to 127.0.0.1 AND change the port to 3333

    worked perfectly.

提交回复
热议问题