mysql connect to db code example
Example 1: mysql connect
$mysqli -> new mysqli(host, username, password, dbname, port, socket)
Example 2: login to database mysql terminal
use DBNAME;
Example 3: login to database mysql terminal
show databases;