?php $servername = "cit-mysql.regionals.miamioh.edu"; //Type this line as is. $username = "uniqueID"; //Your Miami uniqueID. You have to use “ “ for this. $password = "Passwords"; //You should use Your MySQL password. //You have to use “ ” for this. Not school passwords. $dbname = "uniqueid_practice"; //ex) mine is “kuk_practice" try { //PDO connection. Different style $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); // set the PDO error mode to exception $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { echo "Connection failed: " . $e->getMessage(); //error message } #echo "Connected."; #After testing connection, make this line as a comment. ?>