Default Username and Password for Grafana After DM Installation

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

Original topic: dm安装后Grafana 默认账号密码

| username: 宸凡_22

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]


Using admin/admin is incorrect

| username: Kongdom | Original post link

:thinking: How about trying the operating system account and password?

| username: dba远航 | Original post link

What about an empty password?

| username: tidb菜鸟一只 | Original post link

Two methods:

  1. Resize and expand the Grafana node.
  2. Enter the Grafana database to reset the password. Reset Lost Admin Password of Grafana Server (CentOS 7) | Is there IT here? Help me! (ahelpme.com)
| username: TiDBer_lBAxWjWQ | Original post link

Try directly changing the reset password in the grafana.ini configuration file.

| username: 宸凡_22 | Original post link

The username and password in the configuration file are admin/admin, but I just can’t log in. It’s been like this since the first login after installation.

| username: Kongdom | Original post link

You can try the method posted by the expert.

| username: wangccsy | Original post link

It seems there is no password.

| username: xingzhenxiang | Original post link

I remember the username is admin and the password is admin. If you don’t remember the password, you can consider changing it.

| username: Jayjlchen | Original post link

Modify it like this.
Reset Grafana Password_TiDB Grafana Password Reset - CSDN Blog

| username: linnana | Original post link

The initial username and password should be admin/admin. You will need to change the password after the first login.

| username: linnana | Original post link

The dashboard does not require a password.

| username: 哈喽沃德 | Original post link

Access the TiDB Prometheus management interface via http://127.0.0.1:9090. (You need to enter the operating system’s user and password here.)
Access the TiDB Dashboard page via http://127.0.0.1:2379/dashboard, the default username is root and the password is empty.
Access the TiDB Grafana interface via http://127.0.0.1:3000, the default username and password are both admin.

| username: 这里介绍不了我 | Original post link

Try resetting it and see.

| username: 哈喽沃德 | Original post link

The key issue is that he can’t even log in.

| username: zhaokede | Original post link

Learned.

| username: FutureDB | Original post link

Some time ago, when upgrading TiDB from V6.1.0 to TiDB V6.5.4, I encountered an issue where the previous Grafana account and password became invalid. I happened to try resetting the Grafana account and password, and you can check the method for resetting the Grafana account and password in the following link. It has been tested and proven effective.
Reference:
https://blog.51cto.com/liqingbiao/5544746