<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Router &amp; Proxy</title>
        <description>Forum for Router &amp; Proxy</description>
        <link>https://forums.mysql.com/list.php?146</link>
        <lastBuildDate>Mon, 09 Mar 2026 11:57:50 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?146,741426,741426#msg-741426</guid>
            <title>MySQL Router Failover - session on previous router existed in DB (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,741426,741426#msg-741426</link>
            <description><![CDATA[ Would like to seek your input on the following behavior observed in our MySQL environment.<br />
<br />
Our setup is as follows:<br />
-MySQL Router configured with Keepalived (VIP) for high availability<br />
-Database connection timeout configured to 10 minutes<br />
-MySQL InnoDB Cluster as the backend<br />
-Max connection for 1 router - 900, max connection for DB 1000<br />
<br />
During a router failover, we observed that the existing SLEEP sessions on the database remain active, even though the router has already failed over to the secondary node. Which contribute to the max db connection.<br />
<br />
Is this the expected behaviour for MySQL Router and InnoDB Cluster? Specifically:<br />
-Does a MySQL Router failover inherently leave existing SLEEP sessions on the database intact until wait_timeout/interactive_timeout is reached?<br />
-Is there any recommended configuration or best practice to automatically clean up or minimise these SLEEP connections during or after router failover?<br />
<br />
Your clarification will help us validate our understanding and tune our configuration accordingly.]]></description>
            <dc:creator>Nordiana Mohd Yusof</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 26 Nov 2025 02:43:20 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,741425,741425#msg-741425</guid>
            <title>Inquiry: Expected Behaviour of DB Connections During MySQL Router Failover (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,741425,741425#msg-741425</link>
            <description><![CDATA[ Would like to seek your input on the following behavior observed in our MySQL environment.<br />
<br />
Our setup is as follows:<br />
-MySQL Router configured with Keepalived (VIP) for high availability<br />
-Database connection timeout configured to 10 minutes<br />
-MySQL InnoDB Cluster as the backend<br />
-Max connection for 1 router - 900, max connection for DB 1000<br />
<br />
During a router failover, we observed that the existing SLEEP sessions on the database remain active, even though the router has already failed over to the secondary node. Which contribute to the max db connection.<br />
<br />
Is this the expected behaviour for MySQL Router and InnoDB Cluster? Specifically:<br />
-Does a MySQL Router failover inherently leave existing SLEEP sessions on the database intact until wait_timeout/interactive_timeout is reached?<br />
-Is there any recommended configuration or best practice to automatically clean up or minimise these SLEEP connections during or after router failover?<br />
<br />
Your clarification will help us validate our understanding and tune our configuration accordingly.]]></description>
            <dc:creator>Nordiana Mohd Yusof</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 26 Nov 2025 01:59:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,740604,740604#msg-740604</guid>
            <title>Asynch replication through MySQL ROuter (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,740604,740604#msg-740604</link>
            <description><![CDATA[ Hi,<br />
<br />
The router source code contains explicit handling for forwarding classical replication registration commands (classic_register_replica_forwarder.cc<br />
 etc.). Basic tests also show it works - but I couldn&#039;t find much in the way of documentation for this feature. <br />
<br />
Is it supported for replicas to run CHANGE REPLICATION SOURCE with source_host=&lt;mysql router&gt;? If so, does it work correctly if automatic asynchronous source<br />
fail-over is active? E.g., would the router pass through the group member addresses as alternative asynch replication sources to the replica, even though the switching between them should be done by the router?<br />
<br />
Dimiter]]></description>
            <dc:creator>Dimiter Dimitriev</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Tue, 22 Apr 2025 09:16:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,740074,740074#msg-740074</guid>
            <title>Configurando Router (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,740074,740074#msg-740074</link>
            <description><![CDATA[ Ola pessoal, sou novo na área. Configurei um cluster e um router, a replicação esta funcionando ok.<br />
Meu cluster possui 3 instâncias, a instância de R/W esta na porta 6446 e as 2 de R/O esta na porta 6447.<br />
<br />
Ao desenvolver aplicações preciso especificar o ip do router e a porta. Porém todas as aplicações que são desenvolvidas podem ler e escrever dependendo da requisição. Há uma maneira de configurar o router pra uma porta só e ao receber a requisição ele analisa se deve ser encaminhada para o servidor de R/W ou para algumas das instancia R/O? Ou caso eu usar a porta 6446 em todas as aplicações, as requisições de apenas leitura seram redirecionadas às instancias de R/O ou tudo irá ser processado na instancia de R/W ja que eu usei sua porta?]]></description>
            <dc:creator>DTI CREAGO DTI</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 15 Jan 2025 19:30:40 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,734855,734855#msg-734855</guid>
            <title>Closed connection before finishing handshake (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,734855,734855#msg-734855</link>
            <description><![CDATA[ getting this error on MySQL Router<br />
<br />
2024-11-22 12:24:03 routing INFO [7fe0c2082700] [routing:bootstrap_rw] 10.250.10.10:34688 closed connection before finishing handshake<br />
<br />
2024-11-22 12:24:03 routing INFO [7fe0bb7fe700] [routing:bootstrap_rw] incrementing error counter for host of 10.250.10.10:34704 (now 2)<br />
<br />
<br />
i still don&#039;t know why its happening and what is the impact of this on application and how to solve it. any one please guide]]></description>
            <dc:creator>Fahd Bahoo</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Sun, 24 Nov 2024 16:34:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,726592,726592#msg-726592</guid>
            <title>Primary switch zero-downtime architecture? (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,726592,726592#msg-726592</link>
            <description><![CDATA[ I am struggling to find a zero-downtime setup for a MySQL InnoDB cluster.<br />
<br />
As a lab installation of MySQL Router in front of a three-node MySQL InnoDB cluster, I use the stack at <a href="https://github.com/garutilorenzo/mysql-innodb-cluster"  rel="nofollow">https://github.com/garutilorenzo/mysql-innodb-cluster</a><br />
<br />
This works wonderfully, with one exception:<br />
<br />
If I test a MySQL primary node switch under (heavy) write-load, clients get the error message &quot;SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement&quot;<br />
<br />
From what I can tell, this specific error message is caused by an architectural problem in how this whole system is set up: MySQL Router is configured with a ttl, i.e. repeatedly _polls_ cluster for its (primary/secondary) topology. Once it has learnt about any change to the primary, it does redirect - but not before clients get the error message above.<br />
<br />
Is there any means to have a server-side architecture which prevents this<br />
* with MySQL Router<br />
* using some alternative architecture<br />
?<br />
<br />
One of the implications of the current set up that a primary node switch will always disrupt clients, in a rather annoying way.<br />
<br />
(On the client side, dropping that connection and retrying is the obvious solution; I am interested in making the server-side architecture friendlier towards clients.)<br />
<br />
Many thanks!]]></description>
            <dc:creator>Stefan Hoffmeister</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Sat, 28 Sep 2024 15:27:28 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,725976,725976#msg-725976</guid>
            <title>router bootstrap sets all nodes to RO (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,725976,725976#msg-725976</link>
            <description><![CDATA[ I&#039;m trying to set up router in a 3 node cluster.  I have the cluster set up and it looks like this<br />
{<br />
    &quot;clusterName&quot;: &quot;N7QNMCluster&quot;,<br />
    &quot;defaultReplicaSet&quot;: {<br />
        &quot;name&quot;: &quot;default&quot;,<br />
        &quot;primary&quot;: &quot;mysql1:3306&quot;,<br />
        &quot;ssl&quot;: &quot;REQUIRED&quot;,<br />
        &quot;status&quot;: &quot;OK&quot;,<br />
        &quot;statusText&quot;: &quot;Cluster is ONLINE and can tolerate up to ONE failure.&quot;,<br />
        &quot;topology&quot;: {<br />
            &quot;mysql1:3306&quot;: {<br />
                &quot;address&quot;: &quot;mysql1:3306&quot;,<br />
                &quot;memberRole&quot;: &quot;PRIMARY&quot;,<br />
                &quot;mode&quot;: &quot;R/W&quot;,<br />
                &quot;readReplicas&quot;: {},<br />
                &quot;replicationLag&quot;: &quot;applier_queue_applied&quot;,<br />
                &quot;role&quot;: &quot;HA&quot;,<br />
                &quot;status&quot;: &quot;ONLINE&quot;,<br />
                &quot;version&quot;: &quot;8.4.2&quot;<br />
            },<br />
            &quot;mysql2:3306&quot;: {<br />
                &quot;address&quot;: &quot;mysql2:3306&quot;,<br />
                &quot;memberRole&quot;: &quot;SECONDARY&quot;,<br />
                &quot;mode&quot;: &quot;R/O&quot;,<br />
                &quot;readReplicas&quot;: {},<br />
                &quot;replicationLag&quot;: &quot;applier_queue_applied&quot;,<br />
                &quot;role&quot;: &quot;HA&quot;,<br />
                &quot;status&quot;: &quot;ONLINE&quot;,<br />
                &quot;version&quot;: &quot;8.4.2&quot;<br />
            },<br />
            &quot;mysql3:3306&quot;: {<br />
                &quot;address&quot;: &quot;mysql3:3306&quot;,<br />
                &quot;memberRole&quot;: &quot;SECONDARY&quot;,<br />
                &quot;mode&quot;: &quot;R/O&quot;,<br />
                &quot;readReplicas&quot;: {},<br />
                &quot;replicationLag&quot;: &quot;applier_queue_applied&quot;,<br />
                &quot;role&quot;: &quot;HA&quot;,<br />
                &quot;status&quot;: &quot;ONLINE&quot;,<br />
                &quot;version&quot;: &quot;8.4.2&quot;<br />
            }<br />
        },<br />
        &quot;topologyMode&quot;: &quot;Single-Primary&quot;<br />
    },<br />
    &quot;groupInformationSourceMember&quot;: &quot;mysql1:3306&quot;<br />
<br />
But when I bootstrap the router, I see this in the log:<br />
2024-09-05 21:28:22 routing INFO [75e4f60006c0] [routing:bootstrap_rw] started: routing strategy = first-available<br />
2024-09-05 21:28:22 routing INFO [75e4f60006c0] Start accepting connections for routing routing:bootstrap_rw listening on &#039;0.0.0.0:6446&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f6a006c0] Start accepting connections for routing routing:bootstrap_ro listening on &#039;0.0.0.0:6447&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f56006c0] Start accepting connections for routing routing:bootstrap_x_ro listening on &#039;0.0.0.0:6449&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f6a006c0] Start accepting connections for routing routing:bootstrap_ro listening on &#039;/tmp/router/mysqlro.sock&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f4c006c0] Start accepting connections for routing routing:bootstrap_x_rw listening on &#039;0.0.0.0:6448&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f56006c0] Start accepting connections for routing routing:bootstrap_x_ro listening on &#039;/tmp/router/mysqlxro.sock&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f60006c0] Start accepting connections for routing routing:bootstrap_rw listening on &#039;/tmp/router/mysql.sock&#039;<br />
2024-09-05 21:28:22 routing INFO [75e4f4c006c0] Start accepting connections for routing routing:bootstrap_x_rw listening on &#039;/tmp/router/mysqlx.sock&#039;<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0] Connected with metadata server running on mysql1:3306<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0] Potential changes detected in cluster after metadata refresh (view_id=0)<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0] Metadata for cluster &#039;N7QNMCluster&#039; has 3 member(s), single-primary:<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0]     mysql1:3306 / 33060 - mode=RO<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0]     mysql2:3306 / 33060 - mode=RO<br />
2024-09-05 21:28:22 metadata_cache INFO [75e521fff6c0]     mysql3:3306 / 33060 - mode=RO<br />
<br />
And I can connect to the RO port; but get this error when I connect to the RW port:<br />
<br />
ERROR 2003 (HY000): Can&#039;t connect to MySQL server on &#039;127.0.0.1:6446&#039; (111)<br />
<br />
Anu ideas appreciated!]]></description>
            <dc:creator>Clay Jackson</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Fri, 06 Sep 2024 05:17:57 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,725962,725962#msg-725962</guid>
            <title>mysqlrouter won&#039;t run (2 replies)</title>
            <link>https://forums.mysql.com/read.php?146,725962,725962#msg-725962</link>
            <description><![CDATA[ I&#039;m trying to set up mysqlrouter for the first time on an ubuntu system.  I did the Oracle apt dpkg configuration and the apt install mysqlrouter - but when I execute mysqlrouter from the command line it just immediately returns, no messages, no log files, nothing!<br />
<br />
Help!]]></description>
            <dc:creator>Clay Jackson</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Tue, 24 Sep 2024 14:56:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,725342,725342#msg-725342</guid>
            <title>Router bootstrap account question (1 reply)</title>
            <link>https://forums.mysql.com/read.php?146,725342,725342#msg-725342</link>
            <description><![CDATA[ Hello,<br />
<br />
it is our first contact with MySQL router, so apologies in advance if the question is too simple.<br />
<br />
We test the migration from a MySQL 5.x Master - Master replication setup to a MySQL 8.x Innodb cluster.<br />
<br />
The cluster is running, data transfer tests are done and now we think about some routers in front of the cluster.<br />
<br />
We created a router user for our first router testsystem and tried to bootstrap the router.<br />
And here the question starts.<br />
<br />
The cluster is configured with ip rules for the root and admin users.<br />
Also the created router user is bound to the system ip of the router server.<br />
```<br />
MySQL  10.234.16.40:33060+ ssl  JS &gt; info.setupRouterAccount(&#039;router-01@10.234.16.46&#039;)<br />
Missing the password for new account <a href="mailto:&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;">&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;</a>. Please provide one.<br />
Password for new account: ************<br />
Confirm password: ************<br />
Creating user <a href="mailto:&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;">&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;</a>.<br />
Account <a href="mailto:&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;">&#114;&#111;&#117;&#116;&#101;&#114;&#45;&#48;&#49;&#64;&#49;&#48;&#46;&#50;&#51;&#52;&#46;&#49;&#54;&#46;&#52;&#54;</a> was successfully created.<br />
```<br />
Our thinking was that we can bootstrap the router with the created router user but this wasn&#039;t working.<br />
<br />
```<br />
[root@blade-server-10 etc]# mysqlrouter --bootstrap router-01@db-01:3306 --directory /etc/mysqlrouter/ --user=mysqlrouter<br />
Please enter MySQL password for router-01: <br />
<br />
Bootstrapping MySQL Router 8.0.36 (MySQL Community - GPL) instance at &#039;/etc/mysqlrouter&#039;...<br />
<br />
Fetching Cluster Members<br />
trying to connect to mysql-server at db-03:3306<br />
<br />
Creating account(s) (only those that are needed, if any)<br />
Error: Error creating MySQL account for router (CREATE USER stage): Error executing MySQL query &quot;CREATE USER IF NOT EXISTS &#039;mysql_router1_b113lfcw8rpz&#039;@&#039;%&#039; IDENTIFIED BY ***&quot;: Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation (1227)<br />
```<br />
<br />
With the cluster admin user the boostraping is working but for productive use I will not open the cluster admin for worldwide connections.<br />
<br />
Is there a secure way to bootstrap the router without needing the cluster admin account? <br />
We want to install routers dynamically on various rented systems and configure the cluster as securely as possible for this purpose.<br />
<br />
Best<br />
<br />
Silvio]]></description>
            <dc:creator>Silvio Schloeffel</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Fri, 09 Aug 2024 10:43:17 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,724911,724911#msg-724911</guid>
            <title>MySQL Router with MRS Support (1 reply)</title>
            <link>https://forums.mysql.com/read.php?146,724911,724911#msg-724911</link>
            <description><![CDATA[ I&#039;ve been able to setup MySQL Router 8.0 and 8.4 with REST support but am unable to complete my installation because mysqlrouter_bootstrap isn&#039;t available on some instances of the router. <br />
<br />
Reading the documentation in the MRS Developer&#039;s Guide, mysqlrouter_bootstrap command is required to bootstrap MRS (MySQL Rest Services) i.e.: mysqlrouter_bootstrap <a href="mailto:&#100;&#98;&#97;&#64;&#49;&#50;&#55;&#46;&#48;&#46;&#48;&#46;&#49;">&#100;&#98;&#97;&#64;&#49;&#50;&#55;&#46;&#48;&#46;&#48;&#46;&#49;</a>:3306 --mrs --directory ~/.mysqlrouter<br />
<br />
In reviewing the mysql-router image/container for both 8.0 and 8.4, the command is not present in the filesystem. In addition, mysqlrouter_bootstrap present on my windows 8.0 version but not on the 8.4 version.<br />
<br />
How do I invoke MRS on the router when the mysqlrouter_bootstrap command is missing? Do I need to download the command or is there a new method for bootstrapping MRS?]]></description>
            <dc:creator>Scott Klakken</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 26 Jun 2024 14:12:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,715562,715562#msg-715562</guid>
            <title>when update/insert, errors: Error 1064: prepared statements not allowed with access_mode = &#039;auto&#039; (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,715562,715562#msg-715562</link>
            <description><![CDATA[ update/insert statemenets meet the error:<br />
Error 1064: prepared statements not allowed with access_mode = &#039;auto&#039;]]></description>
            <dc:creator>Bing Ma</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Mon, 22 Jan 2024 06:56:28 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,710315,710315#msg-710315</guid>
            <title>MySQL: Transparent read/write splitting (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,710315,710315#msg-710315</link>
            <description><![CDATA[ MySQL: Transparent read/write splitting<br />
- <a href="https://blogs.oracle.com/mysql/post/mysql-82-transparent-readwrite-splitting"  rel="nofollow">https://blogs.oracle.com/mysql/post/mysql-82-transparent-readwrite-splitting</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Thu, 26 Oct 2023 17:46:16 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,710252,710252#msg-710252</guid>
            <title>Introducing JSON/Relational Duality for MySQL REST Service (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,710252,710252#msg-710252</link>
            <description><![CDATA[ Introducing JSON/Relational Duality for MySQL REST Service<br />
- <a href="https://blogs.oracle.com/mysql/post/introducing-jsonrelational-duality-for-mysql-rest-service"  rel="nofollow">https://blogs.oracle.com/mysql/post/introducing-jsonrelational-duality-for-mysql-rest-service</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Thu, 19 Oct 2023 19:15:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,709752,709752#msg-709752</guid>
            <title>MySQL Router increment error (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,709752,709752#msg-709752</link>
            <description><![CDATA[ Hello,<br />
<br />
I have a problem using MySQL Router on Windows Server systems (Linux works well). Version is 8.0.32 (tested with 8.0.34 as well).<br />
Server plattforms are Server 2012 &amp; 2019 (problem on both versions).<br />
<br />
I bootstrapped a Router Instance on a single VM.<br />
Bootstrapping worked like a charm:<br />
<br />
mysqlrouter --bootstrap=&quot;&lt;URI&gt;&quot; --conf-base-port=7446 --directory=&quot;C:\OracleMySQL\MySQLRouter80\Cluster-Production&quot; --name=&quot;Cluster-Production&quot; --account=mysqlrouter --account-create=always<br />
<br />
The server itself starts correctly:<br />
2023-08-11 10:52:53 io INFO [264c] starting 4 io-threads, using backend &#039;poll&#039;<br />
2023-08-11 10:52:53 http_server INFO [264c] listening on 0.0.0.0:8443<br />
2023-08-11 10:52:53 metadata_cache_plugin INFO [2614] Starting Metadata Cache<br />
2023-08-11 10:52:53 routing INFO [357c] [routing:bootstrap_ro] started: routing strategy = round-robin-with-fallback<br />
2023-08-11 10:52:53 metadata_cache INFO [2614] Connections using ssl_mode &#039;PREFERRED&#039;<br />
2023-08-11 10:52:53 metadata_cache INFO [2ef4] Starting metadata cache refresh thread<br />
2023-08-11 10:52:53 routing INFO [2be4] [routing:bootstrap_x_ro] started: routing strategy = round-robin-with-fallback<br />
2023-08-11 10:52:53 routing INFO [2be4] Start accepting connections for routing routing:bootstrap_x_ro listening on 7449<br />
2023-08-11 10:52:53 routing INFO [35d8] [routing:bootstrap_x_rw] started: routing strategy = first-available<br />
2023-08-11 10:52:53 routing INFO [35d8] Start accepting connections for routing routing:bootstrap_x_rw listening on 7448<br />
2023-08-11 10:52:53 routing INFO [1f14] [routing:bootstrap_rw] started: routing strategy = first-available<br />
2023-08-11 10:52:53 routing INFO [1f14] Start accepting connections for routing routing:bootstrap_rw listening on 7446<br />
2023-08-11 10:52:53 routing INFO [357c] Start accepting connections for routing routing:bootstrap_ro listening on 7447<br />
2023-08-11 10:52:53 metadata_cache INFO [2ef4] Connected with metadata server running on VOMQMGTP0001.t1r.afomcs.com:3306<br />
2023-08-11 10:52:53 metadata_cache INFO [2ef4] Potential changes detected in cluster after metadata refresh (view_id=0)<br />
2023-08-11 10:52:53 metadata_cache INFO [2ef4] Metadata for cluster &#039;A41_DBS_Cluster_Icinga_Production_Site_A&#039; has 1 member(s), single-primary: <br />
2023-08-11 10:52:53 metadata_cache INFO [2ef4] &lt;Server&gt;:3306 / 33060 - mode=RW<br />
<br />
Only one active member is intended at this point of the project.<br />
Then I get error messages every 2-3 minutes logged in the MySQL Router log:<br />
<br />
2023-08-11 10:57:16 routing INFO [34d4] [routing:bootstrap_rw] 127.0.0.1:51378 closed connection before finishing handshake<br />
2023-08-11 10:57:16 routing INFO [34d4] [routing:bootstrap_rw] incrementing error counter for host of 127.0.0.1:51378 (now 1)<br />
2023-08-11 10:57:43 routing INFO [3374] [routing:bootstrap_rw] 127.0.0.1:51450 closed connection before finishing handshake<br />
2023-08-11 10:57:43 routing INFO [3374] [routing:bootstrap_rw] incrementing error counter for host of 127.0.0.1:51450 (now 2)<br />
2023-08-11 10:58:27 routing INFO [326c] [routing:bootstrap_rw] 127.0.0.1:51558 closed connection before finishing handshake<br />
2023-08-11 10:58:27 routing INFO [326c] [routing:bootstrap_rw] incrementing error counter for host of 127.0.0.1:51558 (now 3)<br />
2023-08-11 10:58:53 routing INFO [204c] [routing:bootstrap_rw] 127.0.0.1:51630 closed connection before finishing handshake<br />
2023-08-11 10:58:53 routing INFO [204c] [routing:bootstrap_rw] incrementing error counter for host of 127.0.0.1:51630 (now 4)<br />
2023-08-11 11:00:04 routing INFO [34d4] [routing:bootstrap_rw] 127.0.0.1:51799 closed connection before finishing handshake<br />
2023-08-11 11:00:04 routing INFO [34d4] [routing:bootstrap_rw] incrementing error counter for host of 127.0.0.1:51799 (now 5)<br />
<br />
What I did so far:<br />
- I started the Router using Verbose mode, no further information is logged.<br />
- I changed the plugin for the created user &quot;mysqlrouter&quot; from mysql_native_password (seems to be the default in my case&quot; to caching_sha2_password<br />
- I bootstrapped into another directory on another drive<br />
- I checked I bootstrapped using a cmd prompt ran as Administrator<br />
- I checked the Connection Control Plugin - It tracks these entries:<br />
  &#039;&#039;@&#039;&lt;IP&gt;&#039;<br />
  The user part is empty - is that normal?<br />
- I updated version 8.0.32 to 8.0.34<br />
<br />
I am glad for every single idea or hint how to solve this issue.<br />
<br />
Many regards<br />
Kai]]></description>
            <dc:creator>Kai Koppelmann</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Fri, 11 Aug 2023 09:09:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,709178,709178#msg-709178</guid>
            <title>problem with docker build for mysql router (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,709178,709178#msg-709178</link>
            <description><![CDATA[ nevermind.  :). can someone delete this?]]></description>
            <dc:creator>Dennis Whipstock</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 07 Jun 2023 15:37:53 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,708954,708954#msg-708954</guid>
            <title>MySQL Router:  How to get client’s IP address? (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,708954,708954#msg-708954</link>
            <description><![CDATA[ MySQL Router:  How to get client’s IP address?<br />
<a href="https://blogs.oracle.com/mysql/post/client-ip-address"  rel="nofollow">https://blogs.oracle.com/mysql/post/client-ip-address</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Thu, 04 May 2023 16:54:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,708761,708761#msg-708761</guid>
            <title>Connexion to database interrupted at router bootstrap (2 replies)</title>
            <link>https://forums.mysql.com/read.php?146,708761,708761#msg-708761</link>
            <description><![CDATA[ Hello to all<br />
<br />
I use my mysql-router 8.0.32 on Redhat 8.4, the remote dabase is a v8 cluster<br />
<br />
Here is the error : <br />
<br />
# mysqlrouter --bootstrap myuser@dbp01:3306  --conf-bind-address 127.0.0.1 --account myuser --user mysqlrouter --account-create never --force<br />
Please enter MySQL password for myuser:<br />
# Bootstrapping system MySQL Router instance...<br />
<br />
Please enter MySQL password for myuser:<br />
- Using existing certificates from the &#039;/var/lib/mysqlrouter&#039; directory<br />
- Verifying account (using it to run SQL queries that would be run by Router)<br />
- Storing account in keyring<br />
- Adjusting permissions of generated files<br />
- Creating configuration /etc/mysqlrouter/mysqlrouter.conf<br />
Error: Error executing MySQL query &quot;select view_id from mysql_innodb_cluster_metadata.v2_ar_members where CAST(member_id AS char ascii) = CAST(@@server_uuid AS char ascii)&quot;: Lost connection to MySQL server during query (2013)<br />
# <br />
<br />
In the database, I can see:<br />
<br />
Aborted connection 5216418 to db: &#039;unconnected&#039; user: &#039;myuser&#039; host: &#039;vm43a&#039; (Got an error reading communication packets)<br />
<br />
The user myuser can connect remotely with mysql&gt; without issue and the query is ok<br />
<br />
What could be the cause please ? Thank you]]></description>
            <dc:creator>Fred Milonni</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Thu, 20 Apr 2023 16:26:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,707504,707504#msg-707504</guid>
            <title>MySQL REST Service (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,707504,707504#msg-707504</link>
            <description><![CDATA[ Introducing the MySQL REST Service:<br />
- <a href="https://blogs.oracle.com/mysql/post/introducing-the-mysql-rest-service"  rel="nofollow">https://blogs.oracle.com/mysql/post/introducing-the-mysql-rest-service</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 15 Feb 2023 22:36:43 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,707344,707344#msg-707344</guid>
            <title>Is there an example of Connection Sharing released in MySQL Router 8.0.32 (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,707344,707344#msg-707344</link>
            <description><![CDATA[ The Connection Sharing document states that SQL statements that rely on the previous session state will not work when Connection Sharing is enabled unless it is inside the transaction.<br />
<br />
<br />
<br />
It also does not support user variables, temporary tables, or prepared statements, and even transactions and LOCK TABLES do not support Connection Sharing until they are closed or unlocked.<br />
<br />
<br />
<br />
So, what do they share? I would appreciate it if you could let me know if there is a suitable example.<br />
<br />
<br />
<br />
Thank you]]></description>
            <dc:creator>place rock</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Fri, 27 Jan 2023 08:29:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,707025,707025#msg-707025</guid>
            <title>Help understand router conf file and routing mechanism (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,707025,707025#msg-707025</link>
            <description><![CDATA[ We have run mysqlrouter for several years pointing to 3 nodes((ie. named 1,2,3 )), I add 3 more nodes recently (ie. named 4,5, 6 ) and failover to node 4, and mysqlrouter can normally  point to node 4 for RW. My question is: I checked the mysqlrouter conf file and find it still points to original 3 nodes, do I need to  correct that manually? If the conf can change to correct nodes automatically after restart mysqlrouter service in next maintenance time? <br />
Thanks in advance.]]></description>
            <dc:creator>asdsdf bruc</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Mon, 19 Dec 2022 01:51:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,706986,706986#msg-706986</guid>
            <title>Unable to bootstrap the mysql router (1 reply)</title>
            <link>https://forums.mysql.com/read.php?146,706986,706986#msg-706986</link>
            <description><![CDATA[ Hello,<br />
<br />
I have configured the 3 Node Innodb Cluster, which is running fine. And then I tried to install the mysql router (8.0.31) on my App server, its getting the below error. Please let me know what is the issue here.<br />
<br />
<br />
# MySQL Router configuration file<br />
#<br />
# Documentation is available at<br />
#    <a href="http://dev.mysql.com/doc/mysql-router/en/"  rel="nofollow">http://dev.mysql.com/doc/mysql-router/en/</a><br />
<br />
[DEFAULT]<br />
logging_folder = /var/log/mysqlrouter<br />
runtime_folder = /run/mysqlrouter<br />
config_folder = /etc/mysqlrouter<br />
<br />
[logger]<br />
level = INFO<br />
<br />
<br />
[root@eiacwebapp1test mysqlrouter]# cd /etc/mysqlrouter<br />
[root@eiacwebapp1test mysqlrouter]# ls<br />
mysqlrouter.conf<br />
[root@eiacwebapp1test mysqlrouter]# ls -ld /etc/mysqlrouter<br />
drwxr-xr-x 2 root root 30 Dec 14 09:32 /etc/mysqlrouter<br />
[root@eiacwebapp1test mysqlrouter]#<br />
[root@eiacwebapp1test mysqlrouter]# ls -ld /run/mysqlrouter<br />
drwxr-xr-x 2 mysqlrouter mysqlrouter 40 Sep 13 21:57 /run/mysqlrouter<br />
[root@eiacwebapp1test mysqlrouter]#<br />
[root@eiacwebapp1test mysqlrouter]# ls -ld /var/log/mysqlrouter<br />
drwxr-xr-x 2 mysqlrouter mysqlrouter 6 Sep 13 21:57 /var/log/mysqlrouter<br />
<br />
<br />
[root@eiacwebapp1test mysqlrouter]# mysqlrouter --bootstrap <a href="mailto:&#109;&#121;&#99;&#108;&#117;&#115;&#116;&#101;&#114;&#64;&#49;&#55;&#50;&#46;&#49;&#54;&#46;&#52;&#46;&#52;&#50;">&#109;&#121;&#99;&#108;&#117;&#115;&#116;&#101;&#114;&#64;&#49;&#55;&#50;&#46;&#49;&#54;&#46;&#52;&#46;&#52;&#50;</a>:3306 -d myrouter --user=mysqlrouter<br />
Please enter MySQL password for mycluster:<br />
# Bootstrapping MySQL Router instance at &#039;/etc/mysqlrouter/myrouter&#039;...<br />
<br />
Fetching Cluster Members<br />
trying to connect to mysql-server at eiacdb2test:3306<br />
Failed connecting to eiacdb2test:3306: Error connecting to MySQL server at eiacdb2test:3306: Unknown MySQL server host &#039;eiacdb2test&#039; (-2) (2005), trying next<br />
trying to connect to mysql-server at eiacdb3test:3306<br />
Failed connecting to eiacdb3test:3306: Error connecting to MySQL server at eiacdb3test:3306: Unknown MySQL server host &#039;eiacdb3test&#039; (-2) (2005), trying next<br />
trying to connect to mysql-server at eiacdb1test:3306<br />
Failed connecting to eiacdb1test:3306: Error connecting to MySQL server at eiacdb1test:3306: Unknown MySQL server host &#039;eiacdb1test&#039; (-2) (2005), trying next<br />
Error: no more nodes to fail-over too, giving up.<br />
[root@eiacwebapp1test mysqlrouter]#<br />
[root@eiacwebapp1test mysqlrouter]# ls<br />
mysqlrouter.conf<br />
[root@eiacwebapp1test mysqlrouter]# mysqlrouter --bootstrap <a href="mailto:&#109;&#121;&#99;&#108;&#117;&#115;&#116;&#101;&#114;&#64;&#49;&#55;&#50;&#46;&#49;&#54;&#46;&#52;&#46;&#52;&#50;">&#109;&#121;&#99;&#108;&#117;&#115;&#116;&#101;&#114;&#64;&#49;&#55;&#50;&#46;&#49;&#54;&#46;&#52;&#46;&#52;&#50;</a>:3306 -d myrouter --user=root<br />
Please enter MySQL password for mycluster:<br />
# Bootstrapping MySQL Router instance at &#039;/etc/mysqlrouter/myrouter&#039;...<br />
<br />
Fetching Cluster Members<br />
trying to connect to mysql-server at eiacdb2test:3306<br />
Failed connecting to eiacdb2test:3306: Error connecting to MySQL server at eiacdb2test:3306: Unknown MySQL server host &#039;eiacdb2test&#039; (-2) (2005), trying next<br />
trying to connect to mysql-server at eiacdb3test:3306<br />
Failed connecting to eiacdb3test:3306: Error connecting to MySQL server at eiacdb3test:3306: Unknown MySQL server host &#039;eiacdb3test&#039; (-2) (2005), trying next<br />
trying to connect to mysql-server at eiacdb1test:3306<br />
Failed connecting to eiacdb1test:3306: Error connecting to MySQL server at eiacdb1test:3306: Unknown MySQL server host &#039;eiacdb1test&#039; (-2) (2005), trying next<br />
Error: no more nodes to fail-over too, giving up.<br />
<br />
<br />
[root@eiacwebapp1test mysqlrouter]# mysqlrouter --bootstrap root@eiacdb1test --user=mysqlrouter<br />
Please enter MySQL password for root:<br />
Error: Unable to connect to the metadata server: Error connecting to MySQL server at eiacdb1test:0: Unknown MySQL server host &#039;eiacdb1test&#039; (-2) (2005)<br />
[root@eiacwebapp1test mysqlrouter]#<br />
[root@eiacwebapp1test mysqlrouter]# mysqlrouter --bootstrap mycluster@eiacdb1test --user=mysqlrouter<br />
Please enter MySQL password for mycluster:<br />
Error: Unable to connect to the metadata server: Error connecting to MySQL server at eiacdb1test:0: Unknown MySQL server host &#039;eiacdb1test&#039; (-2) (2005)]]></description>
            <dc:creator>Haashir Mohamed</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 14 Dec 2022 08:30:15 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,706611,706611#msg-706611</guid>
            <title>HA for MySQL Router in a Windows environment (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,706611,706611#msg-706611</link>
            <description><![CDATA[ I have an environment in which we need an HA Router and DB Cluster setup in a MS Windows environment. We are a paying member of the MySQL Enterprise DB users.  In our current environment we do not have access to MS Windows Cluster support, but could use CISCO VRRP as the Virtual IP mechanism to support the configuration as provided by the previous HA MySQL Router setup example, which uses a Linux environment:<br />
<br />
HA for MySQL Router:<br />
- <a href="https://lefred.be/content/mysql-innodb-cluster-is-the-router-a-single-point-of-failure/"  rel="nofollow">https://lefred.be/content/mysql-innodb-cluster-is-the-router-a-single-point-of-failure/</a><br />
- <a href="https://lefred.be/content/mysql-router-ha-with-pacemaker/"  rel="nofollow">https://lefred.be/content/mysql-router-ha-with-pacemaker/</a><br />
- <a href="https://lefred.be/content/mysql-router-ha-with-keepalived/"  rel="nofollow">https://lefred.be/content/mysql-router-ha-with-keepalived/</a> <br />
<br />
Are there any equivalent guide(s) that would fit my environment?  Or any suggested substitutions that would complete a similar implementation in our environment?]]></description>
            <dc:creator>Randall Chilson</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Mon, 31 Oct 2022 19:58:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,705859,705859#msg-705859</guid>
            <title>MySQL Router - Active Connections not getting cleaned up/removed (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,705859,705859#msg-705859</link>
            <description><![CDATA[ Hello.<br />
MySQL Routers (MR) are on a VM, load balanced and traffic routed to the physical DB Servers.<br />
On a MR, I have Active Connections that keep increasing and don&#039;t get cleaned up. I eventually have to restart the router because it will hit the Max Connections. Sure I can increase the Max Count to a higher limit but the problem still exists and is only a stop gap. I have been able to locate the issue, IMO, to connections from a specific service using JDBC Connection Pool and in Active Connections list it has blank destination IP.<br />
Using the MySQL Router REST API I have been able to get &quot;Connections&quot; to the router which, represents the active connections. I have an example here from 2 points in time. Earlier in the day, the connection has a destination IP. Later, that same record has no destination IP. Here is an example:<br />
With Destination IP, Queried yesterday at around 9:30am yesterday:{&quot;bytesFromServer&quot;:17744,&quot;bytesToServer&quot;:26847,&quot;sourceAddress&quot;:&quot;10.10.10.201:39878&quot;,&quot;destinationAddress&quot;:&quot;10.10.11.13:3306&quot;,&quot;timeStarted&quot;:&quot;2022-08-16T21:11:28.196537Z&quot;,&quot;timeConnectedToServer&quot;:&quot;2022-08-16T21:11:28.198833Z&quot;,&quot;timeLastSentToServer&quot;:&quot;2022-08-16T21:11:30.991969Z&quot;,&quot;timeLastReceivedFromServer&quot;:&quot;2022-08-16T21:11:30.992773Z&quot;}<br />
Without Destination IP, queried this morning:<br />
{&quot;bytesFromServer&quot;:17744,&quot;bytesToServer&quot;:26847,&quot;sourceAddress&quot;:&quot;10.10.10.201:39878&quot;,&quot;destinationAddress&quot;:&quot;&quot;,&quot;timeStarted&quot;:&quot;2022-08-16T21:11:28.196537Z&quot;,&quot;timeConnectedToServer&quot;:&quot;2022-08-16T21:11:28.198833Z&quot;,&quot;timeLastSentToServer&quot;:&quot;2022-08-16T21:11:30.991969Z&quot;,&quot;timeLastReceivedFromServer&quot;:&quot;2022-08-16T21:11:30.992773Z&quot;},<br />
It is these records with blank Destination IPs that are increasing as time passes. Some process, whether at the application side, JDBC Drivers, or on MySQL is blanking the IP out and not removing these &quot;active sessions&quot;.<br />
We think it has to do with some code where it is not closing the transaction block some place and it is being looked into. No luck yet.<br />
I was wondering if anyone has experienced this before and can give suggestions at things to look for.<br />
<br />
Thanks!<br />
DD]]></description>
            <dc:creator>Dev Dewboy</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 17 Aug 2022 20:18:36 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,705374,705374#msg-705374</guid>
            <title>How do i get current number of Connections used by mysqlrouter.? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?146,705374,705374#msg-705374</link>
            <description><![CDATA[ I want to warning my application if the number of connections is getting closed to the max_total_connections.<br />
I had read the page about mysqlrouter&#039;s commandline, but no idea to do that. please help.]]></description>
            <dc:creator>yeshirow Cheel</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 17 Aug 2022 20:21:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,705335,705335#msg-705335</guid>
            <title>mysqlrouter 8.0.29 next-available config (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,705335,705335#msg-705335</link>
            <description><![CDATA[ Hi all,<br />
I&#039;m testing mysqlrouter for master/replica environment in ubuntu 20.04 using mysql community packages, but there is something I can&#039;tunderstand about routing_strategy.<br />
This is my routing conf<br />
<br />
[routing:MasterReplica]<br />
bind_address = 127.0.0.1<br />
bind_port = 3306<br />
destinations = 192.168.1.181:3306,192.168.1.181:3406<br />
routing_strategy = next-available<br />
<br />
I&#039;ve 2 mysqld instances on same machine.<br />
<br />
Reading docs &quot;next-available&quot; means that when a server is unreacheable is marked as unreachable then it gets discarded and is never used again as a destination till mysqlrouter restart. <br />
<br />
In my case when I raise up the instance gone dow, the logs show that the server is remouved from quarantine.<br />
<br />
&quot;2022-07-18 14:54:02.785 routing DEBUG [7fd09feab700] Destination candidate &#039;192.168.1.181:3306&#039; is available, remove it from quarantine&quot;<br />
<br />
Could someone help me to understand which is my fault?<br />
<br />
Thanks a lot in advanced]]></description>
            <dc:creator>lorenzo tombini</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Mon, 18 Jul 2022 13:12:57 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,705294,705294#msg-705294</guid>
            <title>MySQL Router Restful API (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,705294,705294#msg-705294</link>
            <description><![CDATA[ <a href="https://mysqlhk.blogspot.com/2022/07/mysql-router-restful-api.html"  rel="nofollow">https://mysqlhk.blogspot.com/2022/07/mysql-router-restful-api.html</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Fri, 15 Jul 2022 05:37:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,704670,704670#msg-704670</guid>
            <title>mysql stuck on socket write/read with mysqlrouter 8.0.29 if packet is big (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,704670,704670#msg-704670</link>
            <description><![CDATA[ Hi, team<br />
  In setup one MySQL Innodb cluster as below<br />
  a. host-A<br />
     MySQL server 8.0.29 + MySQL rourter 8.0.29 + MySQL shell 8.0.29   <br />
  b. host-B<br />
     MySQL server 8.0.29<br />
  c. host-C<br />
      MySQL server 8.0.29 + Application<br />
<br />
   Before running application, I connect to the MySQL Innodb cluster with mysqlrouter url (host-A :6446), everything looks ok. Create db/table and then insert one row, all mysql servers are sychonized. <br />
   However, everytime when inserting one big row, around 30M I guess, it always stuck on the socket write with the same thread stack as below, and it&#039;s reproducible. <br />
   Then I uninstalled mysqlrouter 8.0.29 and mysqlsh 8.0.29, and install both of them with 8.0.28, this issue gone. Reinstalled 8.0.29 back, this issue occurs again.<br />
<br />
<br />
<br />
   java.lang.Thread.State: RUNNABLE<br />
	at java.net.SocketOutputStream.socketWrite0(Native Method)<br />
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)<br />
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)<br />
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)<br />
	- locked &lt;0x00000000a4315ac8&gt; (a java.io.BufferedOutputStream)<br />
	at com.mysql.cj.protocol.a.SimplePacketSender.send(SimplePacketSender.java:53)<br />
	at com.mysql.cj.protocol.a.TimeTrackingPacketSender.send(TimeTrackingPacketSender.java:50)<br />
	at com.mysql.cj.protocol.a.NativeProtocol.send(NativeProtocol.java:558)<br />
	at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:622)<br />
	at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:987)<br />
	at com.mysql.cj.NativeSession.execSQL(NativeSession.java:666)<br />
	at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:930)<br />
	- locked &lt;0x00000000a4314a50&gt; (a com.mysql.cj.jdbc.ConnectionImpl)<br />
	at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:371)<br />
	- locked &lt;0x00000000a4314a50&gt; (a com.mysql.cj.jdbc.ConnectionImpl)<br />
	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)<br />
	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:441)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyUpdate(ConnectionHelper.java:320)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper.access$3(ConnectionHelper.java:314)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:308)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:1)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:454)<br />
	at org.apache.jackrabbit.core.util.db.ConnectionHelper.update(ConnectionHelper.java:311)<br />
	at org.apache.jackrabbit.core.util.db.MySqlConnectionHelper.update(MySqlConnectionHelper.java:165)<br />
	at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.storeBundle(BundleDbPersistenceManager.java:1087)<br />
	- locked &lt;0x00000000a43d6950&gt; (a org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager)<br />
	at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:684)<br />
	at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.storeInternal(AbstractBundlePersistenceManager.java:626)<br />
	at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:503)<br />
	- locked &lt;0x00000000a43d6950&gt; (a org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager)<br />
	at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:480)<br />
	- locked &lt;0x00000000a43d6950&gt; (a org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager)<br />
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:757)<br />
	at org.apache.jackrabbit.core.state.XAItemStateManager.commit(XAItemStateManager.java:181)<br />
	at org.apache.jackrabbit.core.TransactionContext.commit(TransactionContext.java:209)<br />
	- locked &lt;0x00000000fc6ac578&gt; (a org.apache.jackrabbit.core.TransactionContext)<br />
	at org.apache.jackrabbit.core.XASessionImpl.commit(XASessionImpl.java:331)<br />
	at org.apache.jackrabbit.jca.JCASessionHandle.commit(JCASessionHandle.java:414)<br />
	at org.apache.jackrabbit.jca.JCALocalTransaction.commit(JCALocalTransaction.java:84)]]></description>
            <dc:creator>Liang Cheng</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 01 Jun 2022 01:46:54 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,702735,702735#msg-702735</guid>
            <title>Router COnfig (1 reply)</title>
            <link>https://forums.mysql.com/read.php?146,702735,702735#msg-702735</link>
            <description><![CDATA[ How to add multiple bind address without using 0.0.0.0<br />
<br />
[routing:1]<br />
bind_address = ip address1<br />
bind_port = 7001<br />
destinations = foo.example.org:3306<br />
routing_strategy = round-robin<br />
<br />
[routing:2]<br />
bind_address = ip address2<br />
bind_port = 7002<br />
destinations = foo.example.org:3306<br />
routing_strategy = first-available]]></description>
            <dc:creator>Gan MySQL</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Tue, 08 Feb 2022 04:30:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,700655,700655#msg-700655</guid>
            <title>How to implement mysql consolidation strategy with multiple instances? (5 replies)</title>
            <link>https://forums.mysql.com/read.php?146,700655,700655#msg-700655</link>
            <description><![CDATA[ Here&#039;s the problem.<br />
 When my home setup started, it had several application each having it&#039;s own database. But as time goes on my needs grow and suddenly I find myself deploying dozens of sql servers. Now I want to consolidate: i.e. to move every database to a single database server to better manage backups and so on.<br />
 The consolidation strategy that I would want to implement is to deploy multiple mysql-server instances on a single server using virtualization technologies such as docker BECAUSE each database is different: e.g. one is psql GIS database. Another is mysql-5, another is mariadb10.4 and so on.<br />
 The problem is, to make it consistent I need to have one endpoint to connect to all those database instances. What approach should I use to accomplish the task.<br />
The task is similar to reverse proxy in case of web servers.]]></description>
            <dc:creator>William Frezno</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 19 Jan 2022 22:56:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?146,699226,699226#msg-699226</guid>
            <title>mysqlrouter connection error for 127.0.0.1 (no replies)</title>
            <link>https://forums.mysql.com/read.php?146,699226,699226#msg-699226</link>
            <description><![CDATA[ Hi Experts,<br />
<br />
Basic Info:<br />
MySQL Router v2.1.4 on Linux (64-bit) (Commercial)<br />
MySQL Ver 14.14 Distrib 5.7.20, for Linux (x86_64)<br />
<br />
I am new to MySQL and MySQL Router,<br />
<br />
Recently our MySQL Router is experiencing an unusual connection problem on our MySQL Router:<br />
<br />
[root@pas202]#cat /var/log/mysqlrouter/mysqlrouter.log<br />
2021-10-11 15:26:43 INFO    [7f4c7bfa7700] [routing:prodCluster_default_rw] 29 connection errors for 127.0.0.1 (max 100)<br />
2021-10-11 15:36:54 INFO    [7f4c80fb1700] [routing:prodCluster_default_rw] 30 connection errors for 127.0.0.1 (max 100)<br />
2021-10-12 10:09:48 INFO    [7f4cd17fa700] [routing:prodCluster_default_rw] 31 connection errors for 127.0.0.1 (max 100)<br />
2021-10-12 10:19:57 INFO    [7f4c6d78a700] [routing:prodCluster_default_rw] 32 connection errors for 127.0.0.1 (max 100)<br />
2021-10-12 10:29:33 INFO    [7f4c72f95700] [routing:prodCluster_default_rw] 33 connection errors for 127.0.0.1 (max 100)<br />
(timestamp above is UTC +8)<br />
<br />
<br />
I understand that there is a connection error from localhost and I usually clear the error via mysqlrouter restart. But the question is the culprit that is attempting the connection. Upon checking from the MySQL Router logs and matching the timestamp it seems this is the culprit:<br />
<br />
[root@pmse01]# cat /var/log/mysqld.log<br />
2021-10-11T05:13:09.524728Z 15758097 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-11T05:23:45.483704Z 15759262 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-11T07:16:36.878786Z 15771528 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-11T07:26:41.565336Z 15772637 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-11T07:36:52.445713Z 15773751 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-12T02:09:46.579821Z 15894247 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-12T02:19:55.397823Z 15895335 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
2021-10-12T02:29:31.611252Z 15896393 [Note] Access denied for user &#039;ROUTER&#039;@&#039;pas202.presto.local&#039; (using password: YES)<br />
(timestamp above is UTC)<br />
<br />
I can confirm there is no user &#039;ROUTER&#039; in the mysql.user. <br />
The MySQL Router connecting to MySQL is using mysql_router9_kjc1lba6sqfb.<br />
<br />
Has anyone encountered this phenomena before?<br />
<br />
Regards,<br />
Sam Tan]]></description>
            <dc:creator>Sam Tan</dc:creator>
            <category>Router &amp; Proxy</category>
            <pubDate>Wed, 13 Oct 2021 03:13:53 +0000</pubDate>
        </item>
    </channel>
</rss>
