Is it possible to configure the connection pool to connect directly to TiFlash?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 能否在连接池配置,直接通过连接池连接到tiflash

| username: xiaoxiaozuofang

【TiDB Usage Environment】Production Environment / Testing / Poc
【TiDB Version】v6.1.0
【Reproduction Path】Operations performed that led to the issue
【Encountered Issues: Issue Symptoms and Impact】
【Resource Configuration】
【Attachments: Screenshots / Logs / Monitoring】

| username: hey-hoho | Original post link

Sure, add this to the end of the JDBC connection string:

&sessionVariables=tidb_isolation_read_engines="tidb,tiflash"
| username: 我是咖啡哥 | Original post link

It can be used like this? I thought it could only be set at the session level.

| username: Kongdom | Original post link

There are all.