Skip to content

Commit

Permalink
Use the support page instead of direct links (#15402)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Nov 24, 2023
1 parent d7c04d2 commit 101e17d
Show file tree
Hide file tree
Showing 24 changed files with 297 additions and 39 deletions.
12 changes: 11 additions & 1 deletion develop/dev-guide-gui-datagrip.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,14 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-gui-dbeaver.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,14 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-gui-vscode-sqltools.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,14 @@ Connect to your TiDB cluster depending on the TiDB deployment option you have se

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
28 changes: 19 additions & 9 deletions develop/dev-guide-sample-application-aws-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,20 +211,20 @@ You can deploy the AWS Lambda Function using either the [SAM CLI](#sam-cli-deplo
# Setting default arguments for 'sam deploy'
# =========================================
# Stack Name [sam-app]: tidb-aws-lambda-quickstart
# AWS Region [us-east-1]:
# AWS Region [us-east-1]:
# #Shows you resources changes to be deployed and require a 'Y' to initiate deploy
# Confirm changes before deploy [y/N]:
# Confirm changes before deploy [y/N]:
# #SAM needs permission to be able to create roles to connect to the resources in your template
# Allow SAM CLI IAM role creation [Y/n]:
# Allow SAM CLI IAM role creation [Y/n]:
# #Preserves the state of previously provisioned resources when an operation fails
# Disable rollback [y/N]:
# Disable rollback [y/N]:
# tidbHelloWorldFunction may not have authorization defined, Is this okay? [y/N]: y
# tidbHelloWorldFunction may not have authorization defined, Is this okay? [y/N]: y
# tidbHelloWorldFunction may not have authorization defined, Is this okay? [y/N]: y
# tidbHelloWorldFunction may not have authorization defined, Is this okay? [y/N]: y
# Save arguments to configuration file [Y/n]:
# SAM configuration file [samconfig.toml]:
# SAM configuration environment [default]:
# Save arguments to configuration file [Y/n]:
# SAM configuration file [samconfig.toml]:
# SAM configuration environment [default]:
# Looking for resources needed for deployment:
# Creating the required resources...
Expand Down Expand Up @@ -352,7 +352,7 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
- Using [connection pools](https://github.com/sidorares/node-mysql2#using-connection-pools) to manage database connections can reduce the performance overhead caused by frequently establishing and destroying connections.
- To avoid SQL injection, it is recommended to use [prepared statements](https://github.com/sidorares/node-mysql2#using-prepared-statements).
- In scenarios where there are not many complex SQL statements involved, using ORM frameworks like [Sequelize](https://sequelize.org/), [TypeORM](https://typeorm.io/), or [Prisma](https://www.prisma.io/) can greatly improve development efficiency.
- In scenarios where there are not many complex SQL statements involved, using ORM frameworks like [Sequelize](https://sequelize.org/), [TypeORM](https://typeorm.io/), or [Prisma](https://www.prisma.io/) can greatly improve development efficiency.
- For building a RESTful API for your application, it is recommended to [use AWS Lambda with API Gateway](https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html).
- For designing high-performance applications using TiDB Serverless and AWS Lambda, refer to [this blog](https://aws.amazon.com/blogs/apn/designing-high-performance-applications-using-serverless-tidb-cloud-and-aws-lambda/).
Expand All @@ -366,4 +366,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
14 changes: 12 additions & 2 deletions develop/dev-guide-sample-application-golang-gorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele
4. Click **Create password** to create a random password.

> **Tip:**
>
>
> If you have created a password before, you can either use the original password or click **Reset password** to generate a new one.
5. Run the following command to copy `.env.example` and rename it to `.env`:
Expand Down Expand Up @@ -241,4 +241,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
14 changes: 12 additions & 2 deletions develop/dev-guide-sample-application-golang-sql-driver.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele
4. Click **Create password** to create a random password.

> **Tip:**
>
>
> If you have created a password before, you can either use the original password or click **Reset password** to generate a new one.
5. Run the following command to copy `.env.example` and rename it to `.env`:
Expand Down Expand Up @@ -292,4 +292,14 @@ Unless you need to write complex SQL statements, it is recommended to use [ORM](
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-java-hibernate.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-java-jdbc.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,14 @@ Unless you need to write complex SQL statements, it is recommended to use [ORM](
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-java-mybatis.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-java-spring-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
14 changes: 12 additions & 2 deletions develop/dev-guide-sample-application-nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To complete this tutorial, you need:

- [Node.js **18**](https://nodejs.org/en/download/) or later.
- [Git](https://git-scm.com/downloads).
- A TiDB cluster.
- A TiDB cluster.

<CustomContent platform="tidb">

Expand Down Expand Up @@ -282,4 +282,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-nodejs-mysql2.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-nodejs-mysqljs.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-nodejs-prisma.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,14 @@ To check [referential integrity](https://en.wikipedia.org/wiki/Referential_integ

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-nodejs-sequelize.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele
```

6. Edit the `.env` file, set up the environment variables as follows, replace the corresponding placeholders `{}` with connection parameters on the connection dialog:

```dotenv
TIDB_HOST='{host}'
TIDB_PORT='4000'
Expand Down Expand Up @@ -322,4 +322,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
12 changes: 11 additions & 1 deletion develop/dev-guide-sample-application-nodejs-typeorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,14 @@ For more information, refer to the [TypeORM FAQ](https://typeorm.io/relations-fa

## Need help?

Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).

</CustomContent>

<CustomContent platform="tidb-cloud">

Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).

</CustomContent>
14 changes: 12 additions & 2 deletions develop/dev-guide-sample-application-python-django.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele
4. Click **Create password** to create a random password.

> **Tip:**
>
>
> If you have created a password before, you can either use the original password or click **Reset password** to generate a new one.
5. Run the following command to copy `.env.example` and rename it to `.env`:
Expand Down Expand Up @@ -329,4 +329,14 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
14 changes: 12 additions & 2 deletions develop/dev-guide-sample-application-python-mysql-connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Connect to your TiDB cluster depending on the TiDB deployment option you've sele
4. Click **Create password** to create a random password.

> **Tip:**
>
>
> If you have created a password before, you can either use the original password or click **Reset password** to generate a new one.
5. Run the following command to copy `.env.example` and rename it to `.env`:
Expand Down Expand Up @@ -280,4 +280,14 @@ Unless you need to write complex SQL statements, it is recommended to use [ORM](
## Need help?
Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
<CustomContent platform="tidb">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](/support.md).
</CustomContent>
<CustomContent platform="tidb-cloud">
Ask questions on the [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc), or [create a support ticket](https://support.pingcap.com/).
</CustomContent>
Loading

0 comments on commit 101e17d

Please sign in to comment.