当前位置:网站首页>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/--binary
will print the path to the latest stable version of the installed
component, if
If the component is not installed, an error is reported - Executing
tiup -B/--binary
will 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 thetrue
value 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 thetrue
value 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
边栏推荐
猜你喜欢
关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关
极验深知v2分析
【云原生】服务行业案例-不可预测的并发场景解决方案
ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)
JUC common thread pool source learning 02 ( ThreadPoolExecutor thread pool )
【云原生】阿里云ARMS业务实时监控
组态 - 笔记
Installing and Uninstalling MySQL on Mac
我们公司用了 6 年的网关服务,动态路由、鉴权、限流等都有,稳的一批!
Distributed pre-course: MySQL implements distributed locks
随机推荐
【嵌入式】适用于Cortex-M3(STM32F10x)的IQmath库
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories
In-depth analysis of Kubernetes application management
分布式前修课:MySQL实现分布式锁
类和对象(下篇)
MySql报错:SqlError(Unable to execute query“, “Can‘t create/write to file OS errno 2 - No such file...
TiDB 工具功能概览
【云原生】灰度发布、蓝绿发布、滚动发布、灰度发布解释
Store Limit 使用文档
TiDB 工具下载
Example of video switching playback (video switching example) code
后浪来袭!阿里产出“第二代”容器技术手册及脑图,这也太香了吧
How to do a good job in technology selection
TiUP FAQ
GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
Flask入门学习教程
Packages - Notes
面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全