Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Matt Berry
Matt Berry
8,400 Points

MySQL and Ruby/Rails

I am working my way through the Active Records (Ruby) lessons and have hit a wall when trying to use MySQL instead of SQLite with Ruby on Rails.

I installed MySQL according to this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-mysql-with-your-ruby-on-rails-application-on-ubuntu-14-04 and everything appeared to go well.

However, when I attempt to create a database for my 'biller' application (rake db:create) and then look for available databases (mysql -uroot -p > show databases;), I only manage to create 'biller_test' and not 'biller_development'.

I have read there is a glitch with the newest mysql version and rails 4.x. I tried specifying 'mysql '0.3.18'', as was suggested, in the gem file to no avail. Any help would be appreciated.