[symfony-users] Re: Database does not exist

2010-08-22 Thread Paolo90
I solved the problem, it was something about the path of MySql's socket files configuration in my php.ini now everything works fine! thnx for you help! Paolo! On 22 Ago, 13:29, chok wrote: > Do you have launch : symfony propel:build-sql ? > > Check if this file exists (build-propel.xml) maybe you

[symfony-users] Re: Database does not exist

2010-08-22 Thread chok
Do you have launch : symfony propel:build-sql ? Check if this file exists (build-propel.xml) maybe your installation of symfony ? On 21 août, 22:54, Paolo90 wrote: > well, now i get the following error: > > "Execution of target "insert-sql" failed for the following reason: / > Library/WebServer/

[symfony-users] Re: Database does not exist

2010-08-21 Thread Paolo90
well, now i get the following error: "Execution of target "insert-sql" failed for the following reason: / Library/WebServer/Documents/blog/lib/vendor/symfony/lib/plugins/ sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]

[symfony-users] Re: Database does not exist

2010-08-21 Thread Paolo90
Ok,now I'm not at home so I can't try it, but I'll tell you if it works, thanks. On 21 Ago, 15:20, chok wrote: > In the schema on the top you have to put the connection name like: > > propel: >   ... > > and not : > > blog: >   ... > > I don't very well attributes with propel but I think you have

[symfony-users] Re: Database does not exist

2010-08-21 Thread chok
In the schema on the top you have to put the connection name like: propel: ... and not : blog: ... I don't very well attributes with propel but I think you have to put _atributes: {connection: propel} or something like that. But the first way is the simpliest ;-) This is solve your problem

[symfony-users] Re: Database does not exist

2010-08-21 Thread chok
And in your propel.ini ? On 21 août, 13:23, Paolo90 wrote: > Thanks for your reply, but it seems it doesn't work anyway! :( > > On 20 Ago, 17:42, Quince wrote: > > > I'm a new user so hopefully this solves your problem.  In your > > schema.yml file I believe you're missing the following line for

[symfony-users] Re: Database does not exist

2010-08-21 Thread Paolo90
Thanks for your reply, but it seems it doesn't work anyway! :( On 20 Ago, 17:42, Quince wrote: > I'm a new user so hopefully this solves your problem.  In your > schema.yml file I believe you're missing the following line for each > table: > "connection: propel" > > This should be a level below t

[symfony-users] Re: Database does not exist

2010-08-20 Thread Quince
I'm a new user so hopefully this solves your problem. In your schema.yml file I believe you're missing the following line for each table: "connection: propel" This should be a level below the table name. For instance: ---code- blog: connection: propel ---/code--