from pymysql import cursors

# 生产环境数据库
dbparams = {
    'host': 'sh-cdb-admahds8.sql.tencentcdb.com',
    'user': 'fld_writer',
    'password': 'dianBiao4321@',
    'database': 'data',
    "port": 60769,
    'charset': 'utf8',
    'cursorclass': cursors.DictCursor
}
payment_dbparam = {
    'host': 'sh-cdb-am91vclq.sql.tencentcdb.com',
    'user': 'dcc_writeUser',
    'password': 'dccDgj112@',
    'database': 'epkeeper',
    "port": 60763,
    'charset': 'utf8',
    'cursorclass': cursors.DictCursor
}

# 测试数据库
# dbparams = {
#     'host': 'cdb-noc7c8is.bj.tencentcdb.com',
#     'user': 'root',
#     'password': 'Ubuntu123$',
#     'database': 'gateway',
#     "port": 10152,
#     'charset': 'utf8',
#     'cursorclass': cursors.DictCursor
# }
# dbparams = {
#     'host': 'rm-bp1s5d22jqedgq5960o.mysql.rds.aliyuncs.com',
#     'user': 'tony',
#     'password': '39402@Tony',
#     'database': 'gateway',
#     "port": 3306,
#     'charset': 'utf8',
#     'cursorclass': cursors.DictCursor
# }
# payment_dbparam = {
#     'host': 'rm-bp1s5d22jqedgq5960o.mysql.rds.aliyuncs.com',
#     'user': 'tony',
#     'password': '39402@Tony',
#     'database': 'gateway',
#     "port": 3306,
#     'charset': 'utf8',
#     'cursorclass': cursors.DictCursor
# }
