mysql connect --database code example Example: mysql connect $mysqli -> new mysqli(host, username, password, dbname, port, socket)