// Dependency
var mysql=require("mysql");

// Connect to MySQL
var connection = mysql.createConnection({
  host: "localhost",
  port: 3306,
  user: "root",
  password: "",
  database: "safechat"
});

connection.connect(function(err){
  if(err) {throw err;}
  console.log("Connected to database on Port 3306 as ID: " + connection.threadID);
});


// Export
module.exports = connection;


@@ -338,17 +338,16 @@
 );%0A%7D);%0A%0A
-%0A
 // Expor

Update connection.js