mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Testing mysqlxx::PoolWithFailover [#CLICKHOUSE-3167]
This commit is contained in:
parent
aac6b8ed9f
commit
8523d3fc8f
@ -302,8 +302,16 @@ def generate_dictionaries(args):
|
|||||||
|
|
||||||
source_mysql = '''
|
source_mysql = '''
|
||||||
<mysql>
|
<mysql>
|
||||||
<host>localhost</host>
|
<replica>
|
||||||
<port>3306</port>
|
<priority>1</priority>
|
||||||
|
<host>127.0.0.1</host>
|
||||||
|
<port>3333</port> <!-- Wrong port, for testing basic failover to work. -->
|
||||||
|
</replica>
|
||||||
|
<replica>
|
||||||
|
<priority>2</priority>
|
||||||
|
<host>localhost</host>
|
||||||
|
<port>3306</port>
|
||||||
|
</replica>
|
||||||
<user>root</user>
|
<user>root</user>
|
||||||
<password></password>
|
<password></password>
|
||||||
<db>test</db>
|
<db>test</db>
|
||||||
|
Loading…
Reference in New Issue
Block a user