Phlip
4/26/2009 5:56:00 AM
Stephan Wehner wrote:
> Phlip wrote:
>>> Is there a way to do this in Ruby?
>> Grab ActiveRecord (part of Rails, ob-vossly), and write its database.yml
>> file.
>> Oh, and actually use it to rip all your tables. It's just too easy to
>> use!
>
> Ok thanks; however I find the mysql prompt sometimes easier and faster.
> Not always but often enough.
If you mean raw SQL statements, just .execute() them. Otherwise, how does the
MySQL connection driver work? It has to solve your actual problem on the inside,
right?