<?php
define('DB_SERVER', '206.81.10.129');
define('DB_USERNAME', 'rowblox');
define('DB_PASSWORD', '5BtEdf4z7PhTTWFZ');
define('DB_NAME', 'rowblox');
 
/* Attempt to connect to MySQL database */
try{
    $pdo = new PDO("mysql:host=" . DB_SERVER . ";dbname=" . DB_NAME, DB_USERNAME, DB_PASSWORD);
    // Set the PDO error mode to exception
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch(PDOException $e){
    die("ERROR: Could not connect. " . $e->getMessage());
}
?>