Programmatic creation of mysql db

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 Schroeder wrote in post #959289:

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 Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan

Best,