Uros
4/13/2006 8:23:00 AM
Ups, yeah, didn't think of that,sorry. Basicaly a .sql file is a file
that is populated with data from the mysqldump command. It's a text
file with SQL statements.
I was thinking of doing it like this:
file.open("mysql.sql") do |io|
io.each_line do |line|
my.query(line)
...but then I thought that this is not going to work, since the sql
statements are not all in one line in the .sql file.
I hope I made my question a little bit clearer now, sorry for the
inconviniance.
Best regards,
Uros