Sunday, 15 July 2012

How do I run a .sql script from Ruby that creates a mysql database? -



How do I run a .sql script from Ruby that creates a mysql database? -

i have sql script creates mysql database , tables. how connect mysql , execute script within ruby?

i.e. want equivalent of "source ~/path/script.sql" within ruby.

i have googled around bit , unable find it. in advance help!

mysql ruby-on-rails ruby activerecord

No comments:

Post a Comment