Getting Started with Scotch Box: Vagrant for the Absolute Beginner

Connecting to the Database

All major applications from WordPress to Laravel usually require a database. This is because databases are essential to building dynamic web applications. We'll cover how databases work in Scotch Box and how to connect to them. We'll show you:

  1. Connecting from a desktop client like Navicat or Sequel Pro
  2. Connecting from your application via PHP