Important

You are viewing the documentation of an older version of the TiDB database (TiDB v5.4).

It is recommended that you use the latest LTS version of the TiDB database.

tiup clean

The tiup clean command is used to clear the data generated during component operation.

Syntax

tiup clean [name] [flags]

The value of [name] is the Name field output by the status command. If [name] is omitted, you must add the --all option in the tiup clean command.

Option

--all

  • Clears all operation records
  • Data type: Boolean
  • Default: false

Output

Clean instance of `%s`, directory: %s

<< Back to the previous page - TiUP Reference command list

Was this page helpful?