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