Installing MySQL on a Mac is pretty straightforward, but there are a couple of things to be aware of. There are two ways to do it: the DMG method and the Homebrew method. This video uses the DMG method.
You may also get a “mysql command not found” when you try to connect to the database.
In this video, you’ll see how to download MySQL, install it, resolve that “mysql command not found” error, connect to the database, and run some simple SQL.
If you want to go further, you can install MySQL Workbench as well. I’ll have a separate video for that.
00:00 What’s in this video
00:39 Download MySQL
02:43 Install MySQL
04:13 Check MySQL is running
04:45 Connect to the database using terminal
05:17 Resolve “bash MySQL command not found” error
06:53 Connect and test
Get my free SQL Cheat Sheets for Oracle, SQL Server, MySQL, and Postgres here: https://www.databasestar.com/get-sql-cheat-sheets/
SQL Roadmap: an overview of SQL topics, which is a great place to start: https://www.databasestar.com/sql-roadmap/
In this tutorial, you’ll learn how to download and install MySQL on macOS using a DMG file. This is a quick and easy way to get MySQL up and running on your Mac