From the course: Installing and Running Ruby on Rails 6

Unlock the full course today

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

Install MySQL on Windows for a project database

Install MySQL on Windows 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 Windows for a project database

- [Man] We have the Ruby on Rails Framework installed. Next we need to install a database for our projects to use because almost all Ruby on Rails projects connect to backend databases. If you already have a database installed, or one that you prefer, you may be able to use it. Ruby on Rails works really well with PostGres, MySQL, and SQL Lite, and there are database adapters available for other types. I think MySQL is the easiest for beginners, and that's what we'll be using in this tutorial. To install My SQL, you could go to the MySQL developer website, download the software, and install it, but I think it's even easier to use the Ubuntu Package Manager that's built in, to install MySQL. Once we've done that, the last step we'll want to make sure we do is to provide a default MySQL password to secure our database. In order to install MySQL, from the command line, we can use sudu, and then apt, that's that package manager,…

Contents