[symfony-users] Re: Insert sql

2010-07-13 Thread Mathieu Comandon
if it's not the sql generated by symfony, there is no obvious way of
insert such files. I usually do this kind of thing with the mysql
command line program :
mysql -umyuser -pmypassword mydatabase  myfile.sql

If you want to be able to do this with symfony, you could create a new
task that runs a similar command.

On Jul 13, 1:10 pm, wueb webmaster@gmail.com wrote:
 Hello,

 i have some sql lines in a file.

 i need the inserts from that sql be created by symfony in order to
 execute the code i made on the models from each table.

 how can i execute that sql in symfony?

 thanks!

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


[symfony-users] Re: insert-sql problem

2009-10-10 Thread Ezequiel Pintos
Hi Eno, thanks for answering, I've solve the problem. It was a DB issue with
the relations. I ran the scrips in the DB and could see what was the
problem. Now i'm workin' in my site. Thanks anyway Eno.

2009/10/10 Eno symb...@gmail.com


 On Fri, 9 Oct 2009, Braulio wrote:

  Another thing that i've noticed is that the problems resides in the
  relations portion of the entities in the schema.yml file.

 Do you think perhaps, showing your schema.yml might be useful?

 Just sayin'...

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



[symfony-users] Re: insert-sql problem

2009-10-09 Thread Eno

On Fri, 9 Oct 2009, Braulio wrote:

 Another thing that i've noticed is that the problems resides in the
 relations portion of the entities in the schema.yml file.

Do you think perhaps, showing your schema.yml might be useful?

Just sayin'...



-- 



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