OS Manuals

/usr/bin/metadata_store_server

ML Metadata remote gRPC server

From ml-metadata-store-server 1.21.0-r4 (enterprise-packages), captured 2026-11-08 by running metadata_store_server --help (exit 1). permalink

metadata_store_server: Warning: SetUsageMessage() never called

  Flags from external/com_github_gflags_gflags/src/gflags.cc:
    -flagfile (load flags from file) type: string default: ""
    -fromenv (set flags from the environment [use 'export FLAGS_flag1=value'])
      type: string default: ""
    -tryfromenv (set flags from the environment if present) type: string
      default: ""
    -undefok (comma-separated list of flag names that it is okay to specify on
      the command line even if the program does not define a flag with that
      name.  IMPORTANT: flags in this list that have arguments MUST use the
      flag=value format) type: string default: ""

  Flags from external/com_github_gflags_gflags/src/gflags_completions.cc:
    -tab_completion_columns (Number of columns to use in output for tab
      completion) type: int32 default: 80
    -tab_completion_word (If non-empty, HandleCommandLineCompletions() will
      hijack the process and attempt to do bash-style command line flag
      completion on this value.) type: string default: ""

  Flags from external/com_github_gflags_gflags/src/gflags_reporting.cc:
    -help (show help on all flags [tip: all flags can have two dashes])
      type: bool default: false currently: true
    -helpfull (show help on all flags -- same as -help) type: bool
      default: false
    -helpmatch (show help on modules whose name contains the specified substr)
      type: string default: ""
    -helpon (show help on the modules named by this flag value) type: string
      default: ""
    -helppackage (show help on all modules in the main package) type: bool
      default: false
    -helpshort (show help on only the main module for this program) type: bool
      default: false
    -helpxml (produce an xml version of help) type: bool default: false
    -version (show version and build info and exit) type: bool default: false



  Flags from ml_metadata/metadata_store/metadata_store_server_main.cc:
    -downgrade_db_schema_version (Database downgrade schema version value. If
      set the database schema version is downgraded to the set value during
      initialization(Optional Parameter)) type: int64 default: -1
    -enable_database_upgrade (Flag specifying database upgrade option. If set
      to true, it enables database migration during initialization(Optional
      parameter) type: bool default: false
    -grpc_channel_arguments (A comma separated list of arguments to be passed
      to the grpc server. (e.g. grpc.max_connection_age_ms=2000)) type: string
      default: ""
    -grpc_port (Port to listen on for gRPC API. (default 8080)) type: int32
      default: 8080
    -metadata_source_config_type (Provide the source connection type to
      determine what flags will be used by Metadata store to connect to
      Database. For default option, metadata_store_server_config_file will be
      used first, if metadata_store_server_config_file doesn't exist, try to
      connect to mysql using mysql prefixed flags. Valid values for this flag
      are: default, config_file, mysql, postgresql.) type: string
      default: "default"
    -metadata_store_connection_retries (The max number of retries when
      connecting to the given metadata source) type: int32 default: 5
    -metadata_store_server_config_file (If non-empty, read an ascii
      MetadataStoreServerConfig protobuf from the file name to connect to the
      specified metadata source and set up a secure gRPC channel. If provided
      overrides the --mysql* configuration) type: string default: ""
    -mysql_config_database (The mysql database to use. If non-empty, works in
      conjunction with --mysql_config_host & --mysql_config_port, to provide
      MySQL configuration) type: string default: ""
    -mysql_config_host (The mysql hostname to use. If non-empty, works in
      conjunction with --mysql_config_port & --mysql_config_database, to
      provide MySQL configuration) type: string default: ""
    -mysql_config_password (The mysql user password to use (Optional
      parameter)) type: string default: ""
    -mysql_config_port (The mysql port to use. If non-empty, works in
      conjunction with --mysql_config_host & --mysql_config_database, to
      provide mysql store configuration) type: int32 default: 0
    -mysql_config_user (The mysql user name to use (Optional parameter))
      type: string default: ""
    -postgres_config_dbname (The database name. Defaults to be the same as the
      user name.) type: string default: ""
    -postgres_config_host (Name of host to connect to. If host name starts with
      /, it is taken as a Unix-domain socket in the abstract namespace.)
      type: string default: ""
    -postgres_config_hostaddr (Numeric IP address of host to connect to. If
      this field is provided, `host` field is ignored.) type: string
      default: ""
    -postgres_config_passfile (Specifies the name of the file used to store
      passwords.) type: string default: ""
    -postgres_config_password (Password to be used if the server demands
      password authentication.) type: string default: ""
    -postgres_config_port (Port number to connect to at the server host, or
      socket file name extension for Unix-domain connections.) type: string
      default: ""
    -postgres_config_skip_db_creation (True if skipping database instance
      creation during ML Metadata service initialization. By default it is
      false.) type: bool default: false
    -postgres_config_sslcert (This parameter specifies the file name of the
      client SSL certificate, replacing the default
      ~/.postgresql/postgresql.crt.) type: string default: ""
    -postgres_config_sslkey (This parameter specifies the location for the
      secret key used for the client certificate. It can either specify a file
      name that will be used instead of the default
      ~/.postgresql/postgresql.key) type: string default: ""
    -postgres_config_sslmode (PostgreSQL sslmode setup. Values can be disable,
      allow, verify-ca, verify-full, etc.) type: string default: ""
    -postgres_config_sslpassword (This parameter specifies the password for the
      secret key specified in sslkey, allowing client certificate private keys
      to be stored in encrypted form on disk even when interactive passphrase
      input is not practical.) type: string default: ""
    -postgres_config_sslrootcert (This parameter specifies the name of a file
      containing SSL certificate authority (CA) certificate(s). ) type: string
      default: ""
    -postgres_config_user (PostgreSQL user name to connect as. Defaults to be
      the same as the operating system name of the user running the
      application.) type: string default: ""

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.