DigitalChinaOpenSource / TiDB-for-PostgreSQL

PgSQL compatible on distributed database TiDB
Apache License 2.0
387 stars 21 forks source link

TiDB dashboard can not login in #49

Open leeraya opened 3 years ago

leeraya commented 3 years ago

Bug Report

I can not open tidb dashboard

1. What did you do?

When i deploy tidb for postgresql,i tried to open tidb dashboard on pdid:2379/dashboard。 I can see login web page。but I can not login in it。

2. What did you expect to see?

I expect to login in to tidb dashboard

3. What did you see instead?

It told that u failed login

pupillord commented 3 years ago

The method of TiDB dashboard login authentication is sql user authentication, tidb4pg is compatible with PgSQL user authentication and abandons the original MySQL authentication.

We didn't modify the user authentication code in other TiDB component, so the sql user authentication will fail.

We will consider whether to modify tidb4pg or other components to solve this problem in the future, but it may take some time.