How to convert database tables to doctrine entities
Try like this,
For the XML output
php doctrine orm:convert-mapping --from-database --namespace='Entities\' xml mapping/xml
For the YAML output
php doctrine orm:convert-mapping --from-database --namespace='Entities\' yml mapping/yml
After that you should create entities like this,
php doctrine orm:generate-entities
Help,
php doctrine orm:generate-entities --help
For the more information, docs
You missed some arguments like project full path
php doctrine orm:convert-mapping --namespace='Entities\' --force --from-database annotation your/project/full/path