From the course: Installing and Running Ruby on Rails 6

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install MySQL on macOS for a project database

Install MySQL on macOS for a project database - Ruby on Rails Tutorial

From the course: Installing and Running Ruby on Rails 6

Start my 1-month free trial

Install MySQL on macOS for a project database

- [Instructor] We have the Ruby on Rails framework installed now but we also are going to need a database because almost all Ruby on Rails projects connect to backend databases. If you already have a database installed that you want to use you can probably use it. It works really well with PostgreS and MySQL. Also works with SQLite and there's some other database adapters as well. I think for beginners MySQL is definitely the easiest choice to learn how to work with. That's what we're going to be using in this tutorial. In order to install MySQL, there are a couple of options. We can go to the MySQL website and download the installer from there. But even easier is that Homebrew will install it for us. We can use Homebrew, install the MySQL package. We can use it to update it over time. And the only thing we want to make sure is that we set a default password after we install it. Let's see how to do that. So we know that we…

Contents