title: Getting an error when i try to use mysql in rails
body: <p>i am trying to use mysql as a database for my rails application.</p>
  
  <p>here is what my database.yml file looks like</p>
  
  <pre><code>development:
    adapter: mysql2
    encoding: utf8
    database: blog_development
    pool: 5
    username: root
    password:
    socket: /tmp/mysql.sock
  </code></pre>
  
  <p>and this is the error i am getting when i try the rake db:create command</p>
  
  <blockquote>
    <p>hilarl@isa009:~/workspace/blog$ rake db:create rake aborted! Please
    install the mysql2 adapter: <code>gem install activerecord-mysql2-adapter</code>
    (mysql2 is not part of the bundle. Add it to Gemfile.)</p>
    
    <p>Tasks: TOP => db:create (See full trace by running task with --trace)</p>
  </blockquote>
  
  <p>and when i try <code>gem install activerecord-mysql2-adapter</code> i get 'ERROR:  Could not find a valid gem 'activerecord-mysql2-adaptor' (>= 0) in any repository'</p>
  
  <p>i am using ubuntu with ruby 1.9.3p194 and rails 3.2.3</p>