how to add mysql in rails 3.2.1

hey everyone i have installed rails 3.2.1 and want to create app but i
use mysql wht the gems need to add in gem file

thanks in advance

gem ‘mysql2’, use -d option to specify the database like ‘rails new appname -d mysql


You need to add ‘gem mysql2’ in your Gemfile and then run ‘sudo bundle install’.