Be sure you have the MySQL server installed on your local machine. The latest MySQL version is 5.7 at the time of writing this book. Depending on what operating system you are using, you can find out the specific guidelines for your system at https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/installing.html. If you are using Linux, you can find out the installation guide for your Linux distribution at https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/linux-installation.html. If you are on Linux Ubuntu and using the APT repository, you can follow the guide at https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/apt-repo-fresh-install.
Alternatively, you can install the MariaDB server instead of the MySQL server to use the relational database management system (DBMS) in your projects. Again, depending on what operating system you are using, you can find out the specific guidelines for your system at https://mariadb.com/downloads...