def METHOD_NAME(server, database, **tables):
    url = 'mysql+pymysql://root@%s/' % server
    engine = sa.create_engine(
        f'{url}?charset=utf8', encoding='utf-8', connect_args={'connect_timeout': 1}
    )
    try:
        engine.connect()
    except sa.exc.OperationalError:
        skip('Unable to connect to %s' % url)
    engine.execute("DROP DATABASE IF EXISTS %s" % database)
    engine.execute("CREATE DATABASE %s CHARACTER SET utf8 COLLATE utf8_general_ci" % database)
    engine.dispose()
    engine = sa.create_engine(url + database + '?charset=utf8', encoding='utf-8')
    for table_name, data in tables.items():
        data.to_sql(table_name, con=engine, index=False)
    engine.dispose()
    return url + database + '?charset=utf8'