Posts

Showing posts with the label mysql gems

Installing MySQL with Ruby on Rails

Installing MySQL with Ruby on Rails Our web application uses a database to store information. In this blog, I'm going to show you how to get the MySQL database installed with Ruby on Rails. If you already have it installed either because you've already been developing with it, or because you've taken another training course which included it, then you won't need to install it again. Just skim over this page to make sure that you know everything I cover. If you prefer to use a different database such as SQLite or PostgreS, you can, and without making many changes to what I'm going to show you. But we're going to be sticking with MySQL for this blog. One other note, some Windows users already use Microsoft Access as a database and wonder if they can use that with Rails. Access isn't really robust enough for web server usage. It's not supported on Rails, and there's no official database adapter to make it work. There are some unofficial adapters an...