diff --git a/docs/en/getting-started/advance-usage.md b/docs/en/getting-started/advance-usage.md index 4fdba5d9878716..5429b53c39f970 100644 --- a/docs/en/getting-started/advance-usage.md +++ b/docs/en/getting-started/advance-usage.md @@ -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** diff --git a/docs/zh-CN/getting-started/advance-usage.md b/docs/zh-CN/getting-started/advance-usage.md index 494cd8dd1c1dcb..c32ab0ed14445e 100644 --- a/docs/zh-CN/getting-started/advance-usage.md +++ b/docs/zh-CN/getting-started/advance-usage.md @@ -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` \ No newline at end of file