On Jul 26, 2007, at 8:06 AM, Felix Windt wrote:

>> -----Original Message-----
>> From: list-bounce / example.com
>> [mailto:list-bounce / example.com] On Behalf Of Marcin Tyman
>> Sent: Thursday, July 26, 2007 5:52 AM
>> To: ruby-talk ML
>> Subject: Re: MySQL
>>
>> Ronald Fischer wrote:
>>>> dbh.query("source c:/create.sql") - doesn't work. It causes SQL
>>>> syntax.
>>>
>>> True, but for this case, you can always do
>>>
>>>   IO.readlines("c:/create.sql").each { |s| dbh.query(s) }
>>>
>>> Ronald
>>
>>
>> Thanks, I'll check it. It seems to be ok. At the moment I
>> cannot check it (the db is used)
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>
>
> NEVER develop against a live database.
Safest advice, yes, but...
Well, you can, but that's when safety mechanisms like not developing  
under root or not having all priveledges are good ideas.
It's their database though.