Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb Prometheus登录默认用户名和密码是啥?
[TIDB Usage Environment] Testing
[TIDB Version] 7.4.0
[Problem Encountered: What is the default username and password for tidb Prometheus login?
Does Prometheus have a password?
Incorrect username or password
Has basic authentication been enabled for Prometheus in version 7.4.0?
I don’t know where to open it. I can log in normally using the operating system’s user and password.
If it hasn’t been modified, the default username and password for Grafana and Prometheus are:
admin admin
The default username and password are:
admin admin
Does Prometheus also require login now?
I installed the latest version 7.4.0 online, and it prompts me to enter a password.
It’s not this one, it’s the operating system’s username and password.
Why would it be the operating system’s username and password? Did you change the password during installation?
There is no step to change the password during the online installation.
What method was used for the installation? Wasn’t it tiup? I’ve never encountered this situation, just curious.
It was installed using tiup, and I specified the directory myself.
[root@hdty-dmdca /]# export TIUP_HOME=/data
[root@hdty-dmdca /]# echo $TIUP_HOME
/data
[root@hdty-dmdca /]# curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7385k 100 7385k 0 0 7363k 0 0:00:01 0:00:01 --:–:-- 7363k
WARN: adding root certificate via internet: https://tiup-mirrors.pingcap.com/root.json
You can revoke this by remove /data/bin/7b8e153f2e2d0928.root.json
Successfully set mirror to https://tiup-mirrors.pingcap.com
Detected shell: bash
Shell profile: /root/.bash_profile
/root/.bash_profile has been modified to add tiup to PATH
open a new terminal or source /root/.bash_profile to use it
Installed path: /data/bin/tiup
Have a try: tiup playground
[root@hdty-dmdca /]# source .bash_profile
-bash: .bash_profile: No such file or directory
[root@hdty-dmdca /]# source /root/.bash_profile
Prometheus doesn’t require a password; you can access it directly by entering the address.
But I’ve never seen the page you screenshotted 
