当前位置:网站首页>Overview of TiUP commands
Overview of TiUP commands
2022-07-30 15:41:00 【Tim's Shop】
TiUP assumes the function of package manager in the TiDB ecosystem, and manages many components in the TiDB ecosystem, such as TiDB, PD, TiKV, etc.
Syntax
tiup [flags]
Use the --help command to get information about a specific command, with a summary of each command showing its parameters and their usage.Required parameters are shown in angle brackets, optional parameters are shown in square brackets.
represents the command name. For a list of supported commands, please refer to the following Command List, represents a componentname, please refer to the list of supported components belowComponent List.
options
-B, --binary
Print the binary file path of the specified component:
- Executing
tiup -B/--binarywill print the path to the latest stable version of the installedcomponent, ifIf the component is not installed, an error is reported - Executing
tiup -B/--binarywill print the: of the installed componentcode> The path where the version is located, if the version is not installed, an error will be reported - Data type:
BOOLEAN - This option is disabled by default, and the default value is
false.Add this option to the command and pass in thetruevalue or no value to enable this function.
Note
This option can only be used for commands of the form tiup [flags] .
--binpath (string)
Specify the path of the component to be executed: When executing a component, if you do not want to use the binary file in the TiUP image, you can use this parameter to replace it with the binary file of the custom path.
Note
This option can only be used for commands of the form tiup [flags] .
--skip-version-check
Note
This option is deprecated as of v1.3.0.
- Skip the validity check of the version number. The version number specified by default can only be Semantic Version.
- Data type:
BOOLEAN - This option is disabled by default, and the default value is
false.Add this option to the command and pass in thetruevalue or no value to enable this function.
-T, --tag (string)
Specify a tag for the started component: some components need to use disk storage during the execution process. TiUP will allocate a temporary directory as the storage directory for the current execution of the component. If you want to allocate a fixedDirectory, you can use -T/--tag to specify the directory name, so that multiple executions using the same tag can read and write to the same batch of files.
-v, --version
Print the version of TiUP
--help
Print help information
command list
TiUP contains many commands, and these commands contain many subcommands. Please refer to the corresponding links for the description of specific commands and their subcommands:
- install: Install Components
- list: View a list of components
- uninstall: Uninstall a component
- update: upgrade installed components
- status: View component running status
- clean: clean component data directory
- mirror: Mirror Management
- telemetry: telemetry switch
- completion: TiUP command completion
- env: View TiUP related environment variables
- help: View help documentation for a specific command or component
Component List
边栏推荐
- Mysql database query is very slow. Besides the index, what else can be caused?
- What is Ts?
- Flask入门学习教程
- (Crypto essential dry goods) Detailed analysis of the current NFT trading markets
- [Enlightenment by Opportunity-53]: "Sushu"-3- Self-cultivation and Self-cultivation
- TiUP 简介
- Applicable scenarios of TiDB tools
- 【云原生 • DevOps】influxDB、cAdvisor、Grafana 工具使用详解
- 被捧上天的Scrum敏捷管理为何不受大厂欢迎了?
- [In-depth study of 4G/5G/6G topic-46]: 5G Link Adaption Link Adaption-2-Common Abbreviations
猜你喜欢
随机推荐
针对 MySQL/InnoDB 刷盘调优
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
Flink实时仓库-DWS层(状态编程,windowall的使用,数据保存到clickhouse)模板代码
TiUP FAQ
数据分析工具篇——HQL中DDL操作&DML操作
golang图片处理库image简介
Excel使用Visual Basic Editor对宏进行修改
视频切换播放的例子(视频切换范例)代码
Alluxio为Presto赋能跨云的自助服务能力
Flask introductory learning tutorial
Mysql数据库查询好慢,除了索引,还能因为什么?
Placement Rules 使用文档
阿里CTO程立:阿里巴巴的开源历程、理念和实践
组态 - 笔记
MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)
How to split microservices?
B+树索引页大小是如何确定的?
Lock wait timeout exceeded解决方案
华为云重磅发布开源软件治理服务——软件成分分析
Use of InputStream and OutputStream









