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
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.