define("HOST", "localhost"); // The host you want to connect to. define("USER", "mills_user"); // The database username. define("PASSWORD", "okoboji911"); // The database password. define("DATABASE", "mills_secure_login"); // The database name. $mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE); // If you are connecting via TCP/IP rather than a UNIX socket remember to add the port number as a parameter.