Br Tool Commands

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: Br工具命令

| username: TiDB超级萌新

Is there any difference between using the BR tool command with and without tiup?
When using the root user, tiup can be used.
When called by a regular user, it shows “command not found.”
As shown in the images, the root user can use it.
A regular user can run it normally without tiup.

| username: dba远航 | Original post link

TIUP is a comprehensive management command that can manage multiple commands and components, with BR being one of them. As for whether root and regular users can directly invoke it, this is related to environment variables.

| username: Jolyne | Original post link

There’s no difference between the two.

| username: wangccsy | Original post link

The BR tool needs to correspond with the software version.

| username: TiDB超级萌新 | Original post link

Oh, okay, thank you.

| username: onlyacat | Original post link

Since you installed TiUP using the root account, the environment variables are only set for root. If a regular user wants to use it, just copy the commands from root’s bashrc to the user’s bashrc and source it.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.