当前位置:网站首页>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
边栏推荐
猜你喜欢

The Prospects of the Metaverse and the Four Tracks

(Crypto essential dry goods) Detailed analysis of the current NFT trading markets

952. 按公因数计算最大组件大小 : 枚举质因数 + 并查集运用题

关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关

Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!

HTTP缓存小结

Mac 中 MySQL 的安装与卸载

Alluxio为Presto赋能跨云的自助服务能力

瑞吉外卖项目实战Day02

【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理
随机推荐
ISELED---the new choice of ambient lighting scheme
Configuration - Notes
(Popular Science) What is Fractional NFT (Fractional NFT)
CS内网横向移动 模拟渗透实操 超详细
数字量输入模块io
B+树索引页大小是如何确定的?
针对 MySQL/InnoDB 刷盘调优
Compile, link, notes - 3
About the data synchronization delay of MySQL master-slave replication
MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)
数据库-SQL
视频切换播放的例子(视频切换范例)代码
Applicable scenarios of TiDB tools
TiUP 简介
Distributed pre-course: MySQL implements distributed locks
MASM32v11编程调用Process32First失败: 程序发出命令,但命令长度不正确
(Crypto必备干货)详细分析目前NFT的几大交易市场
让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
L2-007 家庭房产(vector、set、map的使用)
【云原生】服务行业案例-不可预测的并发场景解决方案