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 - Ruby on Rails Tutorial
From the course: Installing and Running Ruby on Rails 6
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
-
-
-
-
Running Ruby on Rails on Windows1m 49s
-
Enable Windows subsystem for Linux2m 13s
-
Install Linux on Windows4m 11s
-
Install Ruby on Windows for a Rails project9m 15s
-
Install Ruby on Rails on Windows2m 13s
-
Install MySQL on Windows for a project database6m 23s
-
Install MySQL Ruby gems on Windows1m 21s
-
Install JavaScript tools for Ruby on Rails5m 27s
-
Using the web server on Windows1m 28s
-
Choosing a text editor on Windows for Rails development3m 31s
-
-
-