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

后端 未结 12 1297
臣服心动
臣服心动 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条回答
  •  猫巷女王i
    2020-12-05 00:15

    Sometimes you may got several solution for location path of mysql.lock. But I think the best solution is just see the location path of mysql using php phpinfo() function.

    Note: if you are not familar with phpinfo(), then just create a file give any name and include content of that file like this

    
    

    run this file and get the path of mysql.lock file. I think it will help.

提交回复
热议问题