Something went wrong. Try again.
Youtube like application been developed for my MCA semester 6 Main project
Something went wrong. Try again.
1234567891011121314151617181920var mysql = require("mysql");
var connection = mysql.createConnection({ host: "localhost", user: "root", password: "", database: "videoapp", multipleStatements: true});
connection.connect(function(err) { if (!err) { console.log("Database is connected"); } else { console.log("Error while connecting with database"); }});
module.exports = connection;