Skip to content

Commit 98b9088

Browse files
author
KB Crawler
committed
KB crawler nightly commit
1 parent fa4aced commit 98b9088

File tree

20 files changed

+277
-271
lines changed

20 files changed

+277
-271
lines changed

archive/+changes/index.html

Lines changed: 235 additions & 235 deletions
Large diffs are not rendered by default.

archive/en/about-federatedx/+comments/feed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/about-federatedx/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:03:37 +0000</lastBuildDate><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6318</link><description>&lt;p&gt;Thanks a lot. Just what I needed.&lt;/p&gt;
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/about-federatedx/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Sat, 01 Mar 2025 01:02:10 +0000</lastBuildDate><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6318</link><description>&lt;p&gt;Thanks a lot. Just what I needed.&lt;/p&gt;
33
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bjarne Svanberg</dc:creator><guid>https://mariadb.com/kb/en/about-federatedx/+comments/6318</guid></item><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6317</link><description>&lt;p&gt;You can view existing servers by querying the &lt;a href="/kb/en/mysqlservers-table/"&gt;mysql.servers&lt;/a&gt; table. You can delete servers with the &lt;a href="/kb/en/drop-server/"&gt;DROP SERVER&lt;/a&gt; statement.&lt;/p&gt;
44
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Gilfillan</dc:creator><guid>https://mariadb.com/kb/en/about-federatedx/+comments/6317</guid></item><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6316</link><description>&lt;p&gt;I have added a server with the "create server" syntax shown in &lt;a href="/kb/en/about-federatedx/#how-do-i-create-a-federated-server"&gt;How do I create a federated server&lt;/a&gt;.&lt;/p&gt;
55
&lt;p&gt;How do I &lt;strong&gt;list&lt;/strong&gt; any created servers and how do I &lt;strong&gt;delete&lt;/strong&gt; a server I have created accidentally?&lt;/p&gt;

archive/en/about-federatedx/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
<dt>Modified</dt>
280280
<dd>
281281

282-
<span class="datetime" title="2025-02-27 09:05">15 hours, 58 minutes ago</span></dd>
282+
<span class="datetime" title="2025-02-27 09:05">1 day, 15 hours ago</span></dd>
283283

284284
<dt>Type</dt>
285285
<dd>article</dd>
@@ -584,7 +584,7 @@ <h4 class="anchored_heading" id="federatedx-table-creation">FederatedX table cre
584584
name "FEDERATED" is used in create table. So in MariaDB, the engine type
585585
should be given as "FEDERATED" without an extra "X", not "FEDERATEDX").</p>
586586
<p>The equivalent of above, if done specifying all the connection parameters</p>
587-
<pre class="fixed"><span class="k">CONNECTION</span><span class="o">=</span><span class="ss">&quot;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="176578786357262520392739273926">[email&#160;protected]</a>:3306/db1/t1&quot;</span>
587+
<pre class="fixed"><span class="k">CONNECTION</span><span class="o">=</span><span class="ss">&quot;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8cfee3e3f8ccbdbebba2bca2bca2bd">[email&#160;protected]</a>:3306/db1/t1&quot;</span>
588588
</pre><p>You can also change the server to point to a new schema:</p>
589589
<pre class="fixed"><span class="k">ALTER</span> <span class="n">SERVER</span> <span class="s1">&#39;server_one&#39;</span> <span class="k">options</span><span class="p">(</span><span class="k">DATABASE</span> <span class="s1">&#39;db2&#39;</span><span class="p">);</span>
590590
</pre><p>All subsequent calls to any FederatedX table using the 'server_one' will now be against tables in <code class="highlight fixed" style="white-space:pre-wrap">db2</code>! Guess what? You no longer have to perform an alter table in order to point one or more FederatedX tables to a new server!</p>
@@ -651,7 +651,7 @@ <h2 class="anchored_heading" id="how-do-you-use-federatedx">How do you use Feder
651651
<span class="k">DEFAULT</span> <span class="n">CHARSET</span><span class="o">=</span><span class="n">latin1</span><span class="p">;</span>
652652
</pre><p>Then, on the server that will be connecting to the foreign host (client), you create a federated table without specifying the table structure:</p>
653653
<pre class="fixed"><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="n">federated_test_table</span> <span class="n">ENGINE</span><span class="o">=</span><span class="n">FEDERATED</span>
654-
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0c7e6363784c3d3e3b223c223c223d">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
654+
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="82f0ededf6c2b3b0b5acb2acb2acb3">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
655655
</pre><p>Notice the "ENGINE" and "CONNECTION" fields? This is where you
656656
respectively set the engine type, "FEDERATED" and foreign
657657
host information, this being the database your 'client' database
@@ -670,7 +670,7 @@ <h2 class="anchored_heading" id="how-do-you-use-federatedx">How do you use Feder
670670
<span class="k">KEY</span> <span class="n">other_key</span> <span class="p">(</span><span class="n">other</span><span class="p">))</span>
671671
<span class="n">ENGINE</span><span class="o">=</span><span class="n">FEDERATED</span>
672672
<span class="k">DEFAULT</span> <span class="n">CHARSET</span><span class="o">=</span><span class="n">latin1</span>
673-
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="067469697246373431283628362837">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
673+
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4c3e2323380c7d7e7b627c627c627d">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
674674
</pre><p>In this case the table structure must match exactly the table on the foreign server.</p>
675675
<h3 class="anchored_heading" id="how-to-see-the-storage-engine-in-action">How to see the storage engine in action</h3>
676676
<p>When developing this handler, I compiled the FederatedX database with debugging:</p>
@@ -703,7 +703,7 @@ <h2 class="anchored_heading" id="how-do-i-create-a-federated-server">How do I cr
703703
<p>A federated server is a way to have a foreign data source defined-- with all connection parameters-- so that you don't have to specify explicitly the connection parameters in a string.</p>
704704
<p>For instance, if you wanted to connect to a table, <code class="highlight fixed" style="white-space:pre-wrap">first_db.test_table</code>, using this definition: </p>
705705
<pre class="fixed"><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="n">federated_test_table</span> <span class="n">ENGINE</span><span class="o">=</span><span class="n">FEDERATED</span>
706-
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f080918497b0c1c9c2dec1c6c8dec1dec1c2c3">[email&#160;protected]</a>/first_db/test_table&#39;</span><span class="p">;</span>
706+
<span class="k">CONNECTION</span><span class="o">=</span><span class="s1">&#39;mysql://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eb9b8a9f8cabdad2d9c5daddd3c5dac5dad9d8">[email&#160;protected]</a>/first_db/test_table&#39;</span><span class="p">;</span>
707707
</pre><p>You could instead create this with a server:</p>
708708
<pre class="fixed"><span class="k">create</span> <span class="n">server</span> <span class="s1">&#39;server_one&#39;</span> <span class="k">foreign</span> <span class="k">data</span> <span class="n">wrapper</span> <span class="s1">&#39;mysql&#39;</span> <span class="k">options</span>
709709
<span class="p">(</span><span class="k">HOST</span> <span class="s1">&#39;192.168.1.123&#39;</span><span class="p">,</span>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Connect with MariaDB Connector/C++</title><link>https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Mon, 24 Feb 2025 13:08:03 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Connect with MariaDB Connector/C++</title><link>https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Sat, 01 Mar 2025 01:02:35 +0000</lastBuildDate></channel></rss>

archive/en/connect-with-mariadb-connectorcpp/+comments/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Comments - Connect with MariaDB Connector/C++
3232
" />
3333
<meta property="og:type" content="article" />
34-
<meta property="og:url" content="https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments" />
34+
<meta property="og:url" content="https://mariadb.com/kb/en/connect-with-mariadb-connectorcpp/+comments/" />
3535
<meta property="og:image" content="http://mariadb.comaskmonty-logo.png" />
3636
<meta property="og:site_name" content="MariaDB KnowledgeBase" />
3737
<meta property="fb:admins" content="514852603" />
@@ -76,7 +76,7 @@
7676
</li>
7777

7878
<li>
79-
<a href="/kb/user/login?next=/kb/en/connect-with-mariadb-connectorcpp/+comments"> Login</a>
79+
<a href="/kb/user/login?next=/kb/en/connect-with-mariadb-connectorcpp/+comments/"> Login</a>
8080
</li>
8181

8282
</ul>
@@ -121,7 +121,7 @@
121121

122122

123123
<li>
124-
<a href="/kb/user/login?next=/kb/en/connect-with-mariadb-connectorcpp/+comments" rel="nofollow">Login</a>
124+
<a href="/kb/user/login?next=/kb/en/connect-with-mariadb-connectorcpp/+comments/" rel="nofollow">Login</a>
125125
</li>
126126

127127

archive/en/connect-with-mariadb-connectorcpp/+source/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h1>Connect with MariaDB Connector/C++ - Source</h1>
315315
<div class="revision_info">
316316
<dl class="table">
317317
<dt>Revision</dt>
318-
<dd><a href="/kb/en/connect-with-mariadb-connectorcpp/+r/146417/">146417</a></dd>
318+
<dd><a href="/kb/en/connect-with-mariadb-connectorcpp/+r/148047/">148047</a></dd>
319319
<dt>User</dt>
320320
<dd>
321321
<span class="user" id="user-16286">
@@ -324,7 +324,7 @@ <h1>Connect with MariaDB Connector/C++ - Source</h1>
324324
<dt>Date</dt>
325325
<dd>
326326

327-
<span class="datetime" title="2025-01-31 03:27">2025-01-31 03:27</span></dd>
327+
<span class="datetime" title="2025-02-28 09:48">2025-02-28 09:48</span></dd>
328328
</dl>
329329
</div>
330330

@@ -467,11 +467,12 @@ <h1>Connect with MariaDB Connector/C++ - Source</h1>
467467
| ##tlsKey## | File path to a private key file. | string | | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##sslKey## |
468468
| ##tlsPeerFP## | A SHA1 fingerprint of a server certificate for validation during the TLS handshake. | string | | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##tlsPeerFp## \\ &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##MARIADB_OPT_SSL_FP## |
469469
| ##tlsPeerFPList## | A file containing one or more SHA1 fingerprints of server certificates for validation during the TLS handshake. | string | | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##tlsPeerFpList## \\ &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##MARIADB_OPT_SSL_FP_LIST## |
470+
| ##trustServerCertificate## | When using TLS, do not check server&#39;s certificate. | bool | TRUE | |
470471
| ##useBulkStmts## | An optimized mode of ##executeBatch/executeLargeBatch## PreparedStatement methods execution that uses the MariaDB bulk execution feature. If used with ##rewriteBatchedStatements##, ##rewriteBatchedStatements## takes precedence. | | | |
471472
| ##useCompression## | Compresses network traffic between the client and server. | bool | FALSE | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##CLIENT_COMPRESS## |
472473
| ##user## | Defines the user name of the user account to connect with. | | |&lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##userName## ([[ #sqldriverconnect | sql::Driver::connect()]] connection method only) |
473474
| ##useServerPrepStmts## | Defines whether the connector uses server-side prepared statements using the [[https://mariadb.com/kb/en/prepare-statement/ | PREPARE]], [[https://mariadb.com/kb/en/execute-statement/ | EXECUTE]], and [[https://mariadb.com/kb/en/deallocate-drop-prepare/ | DROP PREPARE]] statements. By default, the connector uses client-side prepared statements. | bool | FALSE | |
474-
| ##useTls## | Whether to force TLS. This enables TLS with the default system settings. | bool | | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##useSsl## \\ &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##useSSL## |
475+
| ##useTls## | Whether to force TLS. This enables TLS with the default system settings. | bool | FALSE | &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##useSsl## \\ &lt;&lt;entity&gt;&gt;bull&lt;&lt;/entity&gt;&gt; ##useSSL## |
475476
&lt;&lt;/style&gt;&gt;
476477
== Connection Methods
477478
Two categories of methods are available to to establish a connection.

archive/en/connect-with-mariadb-connectorcpp/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@
280280
<dt>Created</dt>
281281
<dd>
282282

283-
<span class="datetime" title="2025-01-28 11:09">3 weeks, 6 days ago</span></dd>
283+
<span class="datetime" title="2025-01-28 11:09">1 month ago</span></dd>
284284

285285
<dt>Modified</dt>
286286
<dd>
287287

288-
<span class="datetime" title="2025-01-31 03:27">3 weeks, 3 days ago</span></dd>
288+
<span class="datetime" title="2025-02-28 09:48">15 hours, 14 minutes ago</span></dd>
289289

290290
<dt>Type</dt>
291291
<dd>article</dd>
@@ -560,11 +560,12 @@ <h2 class="anchored_heading" id="host-description">Host Description</h2>
560560
<tr><td><code>tlsKey</code></td><td>File path to a private key file.</td><td>string</td><td></td><td><span>&bull;</span> <code>sslKey</code></td></tr>
561561
<tr><td><code>tlsPeerFP</code></td><td>A SHA1 fingerprint of a server certificate for validation during the TLS handshake.</td><td>string</td><td></td><td><span>&bull;</span> <code>tlsPeerFp</code> <br> <span>&bull;</span> <code>MARIADB_OPT_SSL_FP</code></td></tr>
562562
<tr><td><code>tlsPeerFPList</code></td><td>A file containing one or more SHA1 fingerprints of server certificates for validation during the TLS handshake.</td><td>string</td><td></td><td><span>&bull;</span> <code>tlsPeerFpList</code> <br> <span>&bull;</span> <code>MARIADB_OPT_SSL_FP_LIST</code></td></tr>
563+
<tr><td><code>trustServerCertificate</code></td><td>When using TLS, do not check server's certificate.</td><td>bool</td><td>TRUE</td><td></td></tr>
563564
<tr><td><code>useBulkStmts</code></td><td>An optimized mode of <code>executeBatch/executeLargeBatch</code> PreparedStatement methods execution that uses the MariaDB bulk execution feature. If used with <code>rewriteBatchedStatements</code>, <code>rewriteBatchedStatements</code> takes precedence.</td><td></td><td></td><td></td></tr>
564565
<tr><td><code>useCompression</code></td><td>Compresses network traffic between the client and server.</td><td>bool</td><td>FALSE</td><td><span>&bull;</span> <code>CLIENT_COMPRESS</code></td></tr>
565566
<tr><td><code>user</code></td><td>Defines the user name of the user account to connect with.</td><td></td><td></td><td><span>&bull;</span> <code>userName</code> (<a href="#sqldriverconnect">sql::Driver::connect()</a> connection method only)</td></tr>
566567
<tr><td><code>useServerPrepStmts</code></td><td>Defines whether the connector uses server-side prepared statements using the <a href="https://mariadb.com/kb/en/prepare-statement/">PREPARE</a>, <a href="https://mariadb.com/kb/en/execute-statement/">EXECUTE</a>, and <a href="https://mariadb.com/kb/en/deallocate-drop-prepare/">DROP PREPARE</a> statements. By default, the connector uses client-side prepared statements.</td><td>bool</td><td>FALSE</td><td></td></tr>
567-
<tr><td><code>useTls</code></td><td>Whether to force TLS. This enables TLS with the default system settings.</td><td>bool</td><td></td><td><span>&bull;</span> <code>useSsl</code> <br> <span>&bull;</span> <code>useSSL</code></td></tr>
568+
<tr><td><code>useTls</code></td><td>Whether to force TLS. This enables TLS with the default system settings.</td><td>bool</td><td>FALSE</td><td><span>&bull;</span> <code>useSsl</code> <br> <span>&bull;</span> <code>useSSL</code></td></tr>
568569
</table>
569570
</div><h2 class="anchored_heading" id="connection-methods">Connection Methods</h2>
570571
<p>Two categories of methods are available to to establish a connection.</p>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Filesort with Small LIMIT Optimization</title><link>https://mariadb.com/kb/en/filesort-with-small-limit-optimization/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/filesort-with-small-limit-optimization/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:03:43 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Filesort with Small LIMIT Optimization</title><link>https://mariadb.com/kb/en/filesort-with-small-limit-optimization/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/filesort-with-small-limit-optimization/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Sat, 01 Mar 2025 01:02:21 +0000</lastBuildDate></channel></rss>

archive/en/filesort-with-small-limit-optimization/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
<dt>Modified</dt>
280280
<dd>
281281

282-
<span class="datetime" title="2025-02-27 13:49">11 hours, 14 minutes ago</span></dd>
282+
<span class="datetime" title="2025-02-27 13:49">1 day, 11 hours ago</span></dd>
283283

284284
<dt>Type</dt>
285285
<dd>article</dd>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: MariaDB Connector/C++ 1.0.5 Release Notes</title><link>https://mariadb.com/kb/en/mariadb-connectorc-1-0-5-release-notes/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/mariadb-connectorc-1-0-5-release-notes/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Wed, 26 Feb 2025 01:02:36 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: MariaDB Connector/C++ 1.0.5 Release Notes</title><link>https://mariadb.com/kb/en/mariadb-connectorc-1-0-5-release-notes/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/mariadb-connectorc-1-0-5-release-notes/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Sat, 01 Mar 2025 01:02:41 +0000</lastBuildDate></channel></rss>

0 commit comments

Comments
 (0)