This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Database does not have any mapping information.

Discuss installing Symfony 2 here

Database does not have any mapping information.

by smartnisarg23 » Wed Mar 05, 2014 2:08 pm

Hello ,
I am new in this community. I dont know where to ask this typs of questions.If this is wrong way to ask question then please forgive me.

I am tring to import import entities from existing database.

When I try to fire command php app/console doctrine:mapping:import AdminSporteventsBundle annotation
Every time I got this error - Database does not have any mapping information.


What I do?
smartnisarg23
Junior Member
 
Posts: 1
Joined: Wed Mar 05, 2014 11:52 am

Re: Database does not have any mapping information.

by nymo » Thu Mar 06, 2014 9:58 am

Search for paramaters.yml file in app/config and set your database connection. See doc for more information. http://symfony.com/doc/current/book/doctrine.html#configuring-the-database
nymo
Senior Member
 
Posts: 174
Joined: Fri Jan 07, 2011 11:37 pm
Location: Germany