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 - Ruby on Rails Tutorial
From the course: Installing and Running Ruby on Rails 6
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
-
-
-
(Locked)
Terminal and Unix setup on macOS3m 31s
-
(Locked)
Install Homebrew on macOS3m 16s
-
Install Ruby on macOS for a Rails project7m 27s
-
(Locked)
Install Ruby on Rails on macOS2m 44s
-
(Locked)
Install MySQL on macOS for a project database3m 47s
-
(Locked)
Install RubyGems for MySQL3m 58s
-
(Locked)
Install JavaScript tools for Ruby on Rails1m 18s
-
(Locked)
Using the web server on macOS1m 33s
-
(Locked)
Choosing a text editor on macOS for Rails development3m 35s
-
(Locked)
-
-
-