Install MySQL
sudo apt-get install mysql-server
It should ask you for a password - put in whatever (make sure that this goes in to your config/environment.rb file) Start MySQL
sudo service mysql restart
Login to MySQL
mysql -u root -p
Enter password:
Create the database
create database cheesy_parts;
Set user permissions properly on the database
grant usage on cheesy_parts.* to root@localhost;