tidb集群单机部署出现无法登录dashboard的情况

vi /etc/sudoers

Allow root to run any commands anywhere

root ALL=(ALL) ALL
#新增一行 请替换tidb为你的TIDB用户
tidb ALL=(ALL) ALL

Allows members of the ‘sys’ group to run networking, software,

service management apps and more.

%sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS

Allows people in group wheel to run all commands

%wheel ALL=(ALL) ALL
#新增一行 请替换tidb为你的TIDB用户
%tidb ALL=(ALL) ALL

Same thing without a password

%wheel ALL=(ALL) NOPASSWD: ALL

#新增一行 请替换tidb为你的TIDB用户
%tidb ALL=(ALL) NOPASSWD: ALL

好的 ,我试试

是的呢

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。