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

Fix CustomContent format in note #11601

Merged
merged 4 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions TOC-tidb-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
- [SQL Development Specifications](/develop/dev-guide-sql-development-specification.md)
- Cloud Native Development Environment
- [Gitpod](/develop/dev-guide-playground-gitpod.md)
- Third-Party Support
- [Third-Party Tools Supported by TiDB](/develop/dev-guide-third-party-support.md)
- [Known Incompatibility Issues with Third-Party Tools](/develop/dev-guide-third-party-tools-compatibility.md)
- Manage Cluster
- Plan Your Cluster
- [Select Your Cluster Tier](/tidb-cloud/select-cluster-tier.md)
Expand Down Expand Up @@ -274,6 +277,7 @@
- [`REVOKE <privileges>`](/sql-statements/sql-statement-revoke-privileges.md)
- [`REVOKE <role>`](/sql-statements/sql-statement-revoke-role.md)
- [`ROLLBACK`](/sql-statements/sql-statement-rollback.md)
- [`SAVEPOINT`](/sql-statements/sql-statement-savepoint.md)
- [`SELECT`](/sql-statements/sql-statement-select.md)
- [`SET DEFAULT ROLE`](/sql-statements/sql-statement-set-default-role.md)
- [`SET [NAMES|CHARACTER SET]`](/sql-statements/sql-statement-set-names.md)
Expand Down
11 changes: 1 addition & 10 deletions develop/dev-guide-choose-driver-or-orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,9 @@ summary: Learn how to choose a driver or ORM framework to connect to TiDB.
>
> - **Full**: indicates that using this driver or ORM does not have any known issues.
> - **Verified**: indicates that using this driver or ORM might get errors because of compatibility differences between TiDB and MySQL.

<CustomContent platform="tidb">

>
> For more information, refer to [Third-Party Tools Supported by TiDB](/develop/dev-guide-third-party-support.md).
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

</CustomContent>

TiDB is highly compatible with the MySQL protocol but some features are incompatible with MySQL.

For example:
Expand Down Expand Up @@ -109,13 +104,9 @@ implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.67
> **Note:**
>
> - Currently, Hibernate does [not support nested transactions](https://stackoverflow.com/questions/37927208/nested-transaction-in-spring-app-with-jpa-postgres).

<CustomContent platform="tidb">

>
> - Since v6.2.0, TiDB supports [savepoint](/sql-statements/sql-statement-savepoint.md). To use the `Propagation.NESTED` transaction propagation option in `@Transactional`, that is, to set `@Transactional(propagation = Propagation.NESTED)`, make sure that your TiDB is v6.2.0 or later.
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

</CustomContent>

<SimpleTab>
<div label="Hibernate">

Expand Down
20 changes: 20 additions & 0 deletions develop/dev-guide-third-party-tools-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,18 @@ MySQL maintains a series of [server status variables starting with `Com_`](https

**Way to avoid**

<CustomContent platform="tidb">

Do not use these variables. One common scenario is monitoring. TiDB is well observable and does not require querying from server status variables. For custom monitoring tools, refer to [TiDB Monitoring Framework Overview](/tidb-monitoring-framework.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Do not use these variables. One common scenario is monitoring. TiDB Cloud is well observable and does not require querying from server status variables. For more information about TiDB Cloud monitoring services, refer to [Monitor a TiDB Cluster](/tidb-cloud/monitor-tidb-cluster.md).

</CustomContent>

### TiDB distinguishes between `TIMESTAMP` and `DATETIME` in error messages

**Description**
Expand All @@ -49,8 +59,18 @@ TiDB error messages distinguish between `TIMESTAMP` and `DATETIME`, while MySQL

**Way to avoid**

<CustomContent platform="tidb">

Do not use the error messages for string matching. Instead, use [Error Codes](/error-codes.md) for troubleshooting.

</CustomContent>

<CustomContent platform="tidb-cloud">

Do not use the error messages for string matching. Instead, use [Error Codes](https://docs.pingcap.com/tidb/stable/error-codes) for troubleshooting.

</CustomContent>

### TiDB does not support the `CHECK TABLE` statement

**Description**
Expand Down