@task
def create_user():
    mysql_execute("CREATE USER '%s'@'localhost' IDENTIFIED BY '%s';" % (config.MYSQL_USER, config.MYSQL_PASSWORD), "root", config.MYSQL_PASSWORD)
    mysql_execute("GRANT ALL ON %s.* TO '%s'@'localhost'; FLUSH PRIVILEGES;" % (config.MYSQL_DATABSE, config.MYSQL_USER), "root", config.MYSQL_PASSWORD)
Create the mysql suer
dataset/ETHPy150Open ebu/radiodns-plugit/Deployment/plugit/plugit_server.py/create_user