# Configure create database virtual rails

**URL:** <https://www.ruby-forum.com/t/configure-create-database-virtual-rails/193579>\
**Category:** Rails\
**Created:** [August 20, 2010, 12:44am UTC](https://www.ruby-forum.com/t/configure-create-database-virtual-rails/193579 "2010-08-20T00:44:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2010, 12:44am UTC](https://www.ruby-forum.com/t/configure-create-database-virtual-rails/193579/1 "2010-08-20T00:44:29Z")

</div>

I have installed virtual machine and virtual rails on my laptop using  
Linux mint. Im learning as I go. Everything I need comes with this  
package :

MySQL  
Mongrel  
Ruby1.8.7  
Mongo D.B.  
Git 1.6.3.3  
Netbeans 6.8

so before I can run a rails application according to the tutorial I  
need to configure a database and create a database. Is this correct??  
I tried apt-get install and gem install and they did not  
work…

if configuring and creating a database is the next step how do I go  
about doing this?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2010, 5:10am UTC](https://www.ruby-forum.com/t/configure-create-database-virtual-rails/193579/2 "2010-08-20T05:10:49Z")

</div>

no need to configure anything, all the hard work has been done for you.  
take  
a look at [Chapter 1: From zero to deploy | Ruby on Rails Tutorial | Learn Enough to Be Dangerous](http://railstutorial.org/book), that will get you started. mysql is  
already configured, you will just need to start the service, which is  
outlined on the virtual rails site.

Cheers,  
Jason

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2010, 4:32pm UTC](https://www.ruby-forum.com/t/configure-create-database-virtual-rails/193579/3 "2010-08-20T16:32:54Z")

</div>

Rich d wrote:

> I have installed virtual machine and virtual rails on my laptop using  
> Linux mint. Im learning as I go. Everything I need comes with this  
> package :
> 
> MySQL  
> Mongrel  
> Ruby1.8.7  
> Mongo D.B.  
> Git 1.6.3.3  
> Netbeans 6.8
> 
> so before I can run a rails application according to the tutorial I  
> need to configure a database and create a database. Is this correct??  
> I tried apt-get install and gem install and they did not  
> work…

There shouldn’t be anything to install; sounds like everything you need  
is already there.

(That said, I’d urge you to try PostgreSQL instead of MySQL at some  
point.)

> if configuring and creating a database is the next step how do I go  
> about doing this?

Doesn’t the tutorial talk about rake db:create and things like that? If  
not, get a better tutorial.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
