Installing MySQL

Assuming we are using the fresh Ubuntu 16.10 (Yakkety Yak) installation, the following steps outline how we can set up MySQL:

  1. To install MySQL, we execute the following console commands:
sudo apt-get updatesudo apt-get -y install mysql-server
  1. The installation process triggers a console GUI interface that asks us to enter a root user password:
  1. The provided password needs to be repeated for confirmation purposes:  
  1. Once the installation is done, we can execute the following mysql --version command to confirm if the MySQL ...

Get Mastering PHP 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.