U
Uros
Hello dear ruby users,
another problem arose in my first ruby programm. I have this two
mysqldump files that I need to send to the mysql server so the
databases get populated. I thought it's gonna be an easy solution with
a do loop just cycling through the lines and sending them to the
mysql.query method.
But then I remembered that the .sql dump files are not one query per
line type. Any ideas how can I make it work? Do I need a routine that
parses through a .sql file and creates queries or how can it be done?
Thanks in advance for your time and answers,
Uros
another problem arose in my first ruby programm. I have this two
mysqldump files that I need to send to the mysql server so the
databases get populated. I thought it's gonna be an easy solution with
a do loop just cycling through the lines and sending them to the
mysql.query method.
But then I remembered that the .sql dump files are not one query per
line type. Any ideas how can I make it work? Do I need a routine that
parses through a .sql file and creates queries or how can it be done?
Thanks in advance for your time and answers,
Uros