import mysql.connector as mysql


def initDB():
    db = mysql.connect(
        host = "localhost",
        user = "your_login",
        passwd = "<PASSWORD>",
        database = "your_db_name"
    )

    return db


import mysql.connector as mysql


def initDB():
    db = mysql.connect(
        host = "localhost",
        user = "your_login",
        passwd = "<PASSWORD>",
        database = "your_db_name"
    )

    return db

