pingcap / pingcap/tidb

The field `max_user_connections` should all lowercase letters

Open
#59,829 0 comments 0 reactions 1 assignee Claimed by @joccau View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

In mysql
```
mysql-9.2.0> SHOW FIELDS FROM mysql.user LIKE 'max\_%';
+----------------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------------+--------------+------+-----+---------+-------+
| max_questions | int unsigned | NO | | 0 | |
| max_updates | int unsigned | NO | | 0 | |
| max_connections | int unsigned | NO | | 0 | |
| max_user_connections | int unsigned | NO | | 0 | |
+----------------------+--------------+------+-----+---------+-------+
4 rows in set (0.00 sec)
```

But in TiDB

```
mysql> SHOW FIELDS FROM mysql.user LIKE 'max\_%';
+----------------------+--------------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------------+--------------+------+------+---------+-------+
| Max_user_connections | int unsigned | NO | | 0 | |
+----------------------+--------------+------+------+---------+-------+
1 row in set (0.01 sec)
```

The field `Max_user_connections` should all lowercase letters.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.