The mysqli_connect() function opens a new connection to the MySQL server.
mysqli_connect(host,username,password,dbname,port,socket);