Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system-variables: add documents for error_count and max_connections (#10525) #10656

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ mysql> SELECT * FROM t1;
- Range: `[0, 7]`
- Sets the week format used by the `WEEK()` function.

### error_count

- Scope: NONE
- Type: Integer
- A read-only variable that indicates the number of errors that resulted from the last statement that generated messages.

### foreign_key_checks

- Scope: SESSION | GLOBAL
Expand Down Expand Up @@ -281,6 +287,16 @@ This variable is an alias for `last_insert_id`.
- Unit: Bytes
- The maximum size of a packet for the MySQL protocol.

### max_connections

- Scope: GLOBAL
- Persists to cluster: No
- Type: Integer
- Default value: `0`
- Range: `[0, 100000]`
- The maximum number of connections permitted for a single TiDB instance.
- The value of `0` means no limit.

### max_execution_time

- Scope: SESSION | GLOBAL
Expand Down Expand Up @@ -370,19 +386,19 @@ This variable is an alias for `last_insert_id`.

- Scope: NONE
- Default value: ""
- The location of the certificate authority file (if there is one).
- The location of the certificate authority file (if there is one). The value of this variable is defined by the TiDB configuration item [`ssl-ca`](/tidb-configuration-file.md#ssl-ca).

### ssl_cert

- Scope: NONE
- Default value: ""
- The location of the certificate file (if there is a file) that is used for SSL/TLS connections.
- The location of the certificate file (if there is a file) that is used for SSL/TLS connections. The value of this variable is defined by the TiDB configuration item [`ssl-cert`](/tidb-configuration-file.md#ssl-cert).

### ssl_key

- Scope: NONE
- Default value: ""
- The location of the private key file (if there is one) that is used for SSL/TLS connections.
- The location of the private key file (if there is one) that is used for SSL/TLS connections. The value of this variable is defined by TiDB configuration item [`ssl-key`](/tidb-configuration-file.md#ssl-cert).

### system_time_zone

Expand Down