Programmatic creation of mysql db

Is there a way within Rails/AR to create a new mysql database at
runtime?

On Wed, Nov 3, 2010 at 7:20 PM, Chris [email protected] wrote:

Is there a way within Rails/AR to create a new mysql database at
runtime?

The code of the rake task that creates DB instances is one example.


Hassan S. ------------------------ [email protected]
twitter: @hassan

Hassan S. wrote in post #959289:

On Wed, Nov 3, 2010 at 7:20 PM, Chris [email protected] wrote:

Is there a way within Rails/AR to create a new mysql database at
runtime?

The code of the rake task that creates DB instances is one example.

…but I’d worry more about why you think you need to do this. What are
you trying to achieve?


Hassan S. ------------------------ [email protected]
twitter: @hassan

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs