June 2017
Intermediate to advanced
536 pages
9h 49m
English
There are several driver extensions that allow us to query MySQL. MySQLi is one of them. In order to use MySQLi on the console, we need to ensure that we have the PHP CLI and mysql driver extension installed:
sudo apt-get -y install php7.0-cli php7.0-mysql
Note that the name of the extension lacks the i suffix. Once the mysql driver extension is installed, we can go ahead and start querying the MySQL server.