Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/getting-started/advance-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ I retry and load balancing in application layer code. For example, if a connecti
If you use MySQL JDBC connector to connect Doris, you can use jdbc's automatic retry mechanism:

```
jdbc:mysql:/[host:port],[host:port].../[database][? propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...
jdbc:mysql://[host1][:port1],[host2][:port2][,[host3][:port3]]...[/[database]][?propertyName1=propertyValue1[&propertyName2=propertyValue2]...]
```

**The third**
Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/getting-started/advance-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ mysql> select sum(table1.pv) from table1 join [shuffle] table2 where table1.site
如果使用 mysql jdbc connector 来连接Doris,可以使用 jdbc 的自动重试机制:

```
jdbc:mysql://[host:port],[host:port].../[database][?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...
jdbc:mysql://[host1][:port1],[host2][:port2][,[host3][:port3]]...[/[database]][?propertyName1=propertyValue1[&propertyName2=propertyValue2]...]
```

**第三种**

应用可以连接到和应用部署到同一机器上的 MySQL Proxy,通过配置 MySQL Proxy 的 Failover 和 Load Balance 功能来达到目的。

`http://dev.mysql.com/doc/refman/5.6/en/mysql-proxy-using.html`
`http://dev.mysql.com/doc/refman/5.6/en/mysql-proxy-using.html`