That might occurs due the fact that database tables are already definded in the database.
When you do the build --all command, it will drop all tables, and then re create them, that is why it will work. ;) 2010/12/8 Javier Garcia <tirengar...@gmail.com> > Hi, > > when I try to do a "propel:insert-sql" (after doing a propel:build- > sql) i get the error message below. > > What I don't understand: when i do a "build-all-load" (that task > includes the task "propel:insert-sql") I don't get any error... > > > Execution of target "insert-sql" failed for the following reason: /opt/ > lampp/htdocs/cg1/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/ > vendor/propel-generator/build-propel.xml:272:1: [wrapped: > SQLSTATE[HY000] [2002] Can't connect to local MySQL server through > socket '/var/run/mysqld/mysqld.sock' (2)] > [phing] /opt/lampp/htdocs/cg1/lib/vendor/symfony/lib/plugins/ > sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: > [wrapped: SQLSTATE[HY000] [2002] Can't connect to local MySQL server > through socket '/var/run/mysqld/mysqld.sock' (2)] > > Some problems occurred when executing the > task: > > build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] Can't > connect to local MySQL server through socket '/var/run/mysqld/ > mysqld.sock' (2)] > > If the exception message is not clear enough, read the output of the > task > for > more information > > > Any idea? > > sf 1.4/propel > > Javi > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en