code: def get_mysql_args(db_config):
      
      db = db_config['NAME']
  
      mapping = [('--user={0}', db_config.get('USER')),
                 ('--password={0}', db_config.get('PASSWORD')),
                 ('--host={0}', db_config.get('HOST')),
                 ('--port={0}', db_config.get('PORT'))]
      args = apply_arg_values(mapping)
      args.append(db)
  
      return args
docs: Returns an array of argument values that will be passed to a `mysql` or
      `mysqldump` process when it is started based on the given database
      configuration.