<reponame>Ma233/olo
MYSQL_HOST = 'localhost'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_PASSWORD = '<PASSWORD>'
MYSQL_DB = 'test_olo'
MYSQL_CHARSET = 'utf8mb4'


mysql_cfg = dict(
    host=MYSQL_HOST,
    port=MYSQL_PORT,
    user=MYSQL_USER,
    passwd=<PASSWORD>,
    db=MYSQL_DB,
)


def get_mysql_conn():
    from MySQLdb import connect
    return connect(
        host=MYSQL_HOST,
        port=MYSQL_PORT,
        user=MYSQL_USER,
        passwd=<PASSWORD>,
        db=MYSQL_DB,
        charset=MYSQL_CHARSET
    )

MYSQL_HOST = 'localhost'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_PASSWORD = '<PASSWORD>'
MYSQL_DB = 'test_olo'
MYSQL_CHARSET = 'utf8mb4'


mysql_cfg = dict(
    host=MYSQL_HOST,
    port=MYSQL_PORT,
    user=MYSQL_USER,
    passwd=<PASSWORD>,
    db=MYSQL_DB,
)


def get_mysql_conn():
    from MySQLdb import connect
    return connect(
        host=MYSQL_HOST,
        port=MYSQL_PORT,
        user=MYSQL_USER,
        passwd=<PASSWORD>,
        db=MYSQL_DB,
        charset=MYSQL_CHARSET
    )