"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sequelize_1 = require("sequelize");
// Create a new Sequelize instance
const sequelize = new sequelize_1.Sequelize("tuc", "root", "", {
    host: "localhost",
    dialect: "mysql",
});
// Test the connection
sequelize
    .authenticate()
    .then(() => {
    console.log("Connection has been established successfully.");
})
    .catch((err) => {
    console.error("Unable to connect to the database:", err);
});
exports.default = sequelize;
