Skip to content

Commit fa4aced

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

File tree

51 files changed

+1189
-393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1189
-393
lines changed

archive/+changes/index.html

Lines changed: 228 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>Thu, 27 Feb 2025 01:02:28 +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>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;
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/+source/index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h1>About FederatedX - Source</h1>
315315
<div class="revision_info">
316316
<dl class="table">
317317
<dt>Revision</dt>
318-
<dd><a href="/kb/en/about-federatedx/+r/147884/">147884</a></dd>
318+
<dd><a href="/kb/en/about-federatedx/+r/148004/">148004</a></dd>
319319
<dt>User</dt>
320320
<dd>
321321
<span class="user" id="user-2">
@@ -324,7 +324,7 @@ <h1>About FederatedX - Source</h1>
324324
<dt>Date</dt>
325325
<dd>
326326

327-
<span class="datetime" title="2025-02-25 11:46">2025-02-25 11:46</span></dd>
327+
<span class="datetime" title="2025-02-27 09:05">2025-02-27 09:05</span></dd>
328328
</dl>
329329
</div>
330330

@@ -342,7 +342,7 @@ <h1>About FederatedX - Source</h1>
342342

343343
== What is the FederatedX storage engine?
344344

345-
The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.
345+
The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MariaDB or MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.
346346

347347
== History
348348

@@ -452,6 +452,10 @@ <h1>About FederatedX - Source</h1>
452452
OWNER &#39;root&#39;);
453453
&lt;&lt;/code&gt;&gt;
454454

455+
&lt;&lt;product mariadb from=10.11.12&gt;&gt;
456+
You can also use &#39;mariadb&#39; as a wrapper.
457+
&lt;&lt;/product&gt;&gt;
458+
455459
Then the FederatedX table is created specifying the newly created Federated server.
456460
The following statements creates a federated table, &lt;&lt;fixed&gt;&gt;federated.t1&lt;&lt;/fixed&gt;&gt; against the table &lt;&lt;fixed&gt;&gt;db1.t1&lt;&lt;/fixed&gt;&gt; on the remote server.
457461

archive/en/about-federatedx/index.html

Lines changed: 32 additions & 7 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-25 11:46">1 day, 13 hours ago</span></dd>
282+
<span class="datetime" title="2025-02-27 09:05">15 hours, 58 minutes ago</span></dd>
283283

284284
<dt>Type</dt>
285285
<dd>article</dd>
@@ -351,6 +351,30 @@
351351

352352

353353

354+
355+
356+
357+
<div class="well well-small box"><div><h5>Product Versions</h5></div><div>
358+
359+
<ul id="product_chooser">
360+
361+
<li class="mariadb_from_10_11_12">
362+
<label><input type="checkbox" data-product-class="mariadb_from_10_11_12"
363+
>MariaDB starting with 10.11.12</label>
364+
</li>
365+
366+
<li class="mariadb_from_10_11_12">
367+
<label><input type="checkbox" data-product-class="mariadb_from_10_11_12"
368+
>MariaDB starting with 10.11.12</label>
369+
</li>
370+
371+
</ul>
372+
373+
</div>
374+
</div>
375+
376+
377+
354378

355379

356380

@@ -476,7 +500,7 @@ <h3>Contents</h3>
476500
</li>
477501
</div>
478502
<h2 class="anchored_heading" id="what-is-the-federatedx-storage-engine">What is the FederatedX storage engine?</h2>
479-
<p>The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.</p>
503+
<p>The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MariaDB or MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.</p>
480504
<h2 class="anchored_heading" id="history">History</h2>
481505
<p>The history of FederatedX is derived from the History of Federated. Cisco needed a MySQL storage engine that would allow them to consolidate remote tables on some sort of routing device, being able to interact with these remote tables as if they were local to the device, but not actually on the device, since the routing device had only so much storage space. The first prototype of the Federated Storage Engine was developed by JD (need to check on this- Brian Aker can verify) using the HANDLER interface. Brian handed the code to Patrick Galbraith and explained how it needed to work, and with Brian and Monty's tutelage and Patrick had a working Federated Storage Engine with MySQL 5.0. Eventually, Federated was released to the public in a MySQL 5.0 release. </p>
482506
<p>When MySQL 5.1 became the production release of MySQL, Federated had more features and enhancements added to it, namely:</p>
@@ -546,7 +570,8 @@ <h4 class="anchored_heading" id="federatedx-table-creation">FederatedX table cre
546570
<span class="n">PORT</span> <span class="mi">3306</span><span class="p">,</span>
547571
<span class="n">SOCKET</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
548572
<span class="k">OWNER</span> <span class="s1">&#39;root&#39;</span><span class="p">);</span>
549-
</pre><p>Then the FederatedX table is created specifying the newly created Federated server.
573+
</pre><div class="mariadb_from_10_11_12 mariadb from_10_11_12 product"><h5 class="product_title">MariaDB starting with <a href="/kb/en/mariadb-101112-release-notes/">10.11.12</a></h5><p>You can also use 'mariadb' as a wrapper.</p>
574+
</div><p>Then the FederatedX table is created specifying the newly created Federated server.
550575
The following statements creates a federated table, <code class="highlight fixed" style="white-space:pre-wrap">federated.t1</code> against the table <code class="highlight fixed" style="white-space:pre-wrap">db1.t1</code> on the remote server.</p>
551576
<pre class="fixed"><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="n">federated</span><span class="p">.</span><span class="n">t1</span> <span class="p">(</span>
552577
<span class="o">`</span><span class="n">id</span><span class="o">`</span> <span class="nb">int</span><span class="p">(</span><span class="mi">20</span><span class="p">)</span> <span class="k">NOT</span> <span class="k">NULL</span><span class="p">,</span>
@@ -559,7 +584,7 @@ <h4 class="anchored_heading" id="federatedx-table-creation">FederatedX table cre
559584
name "FEDERATED" is used in create table. So in MariaDB, the engine type
560585
should be given as "FEDERATED" without an extra "X", not "FEDERATEDX").</p>
561586
<p>The equivalent of above, if done specifying all the connection parameters</p>
562-
<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="4c3e2323380c7d7e7b627c627c627d">[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="176578786357262520392739273926">[email&#160;protected]</a>:3306/db1/t1&quot;</span>
563588
</pre><p>You can also change the server to point to a new schema:</p>
564589
<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>
565590
</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>
@@ -626,7 +651,7 @@ <h2 class="anchored_heading" id="how-do-you-use-federatedx">How do you use Feder
626651
<span class="k">DEFAULT</span> <span class="n">CHARSET</span><span class="o">=</span><span class="n">latin1</span><span class="p">;</span>
627652
</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>
628653
<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>
629-
<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="51233e3e25116063667f617f617f60">[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="0c7e6363784c3d3e3b223c223c223d">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
630655
</pre><p>Notice the "ENGINE" and "CONNECTION" fields? This is where you
631656
respectively set the engine type, "FEDERATED" and foreign
632657
host information, this being the database your 'client' database
@@ -645,7 +670,7 @@ <h2 class="anchored_heading" id="how-do-you-use-federatedx">How do you use Feder
645670
<span class="k">KEY</span> <span class="n">other_key</span> <span class="p">(</span><span class="n">other</span><span class="p">))</span>
646671
<span class="n">ENGINE</span><span class="o">=</span><span class="n">FEDERATED</span>
647672
<span class="k">DEFAULT</span> <span class="n">CHARSET</span><span class="o">=</span><span class="n">latin1</span>
648-
<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="15677a7a61552427223b253b253b24">[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="067469697246373431283628362837">[email&#160;protected]</a>:9306/federated/test_table&#39;</span><span class="p">;</span>
649674
</pre><p>In this case the table structure must match exactly the table on the foreign server.</p>
650675
<h3 class="anchored_heading" id="how-to-see-the-storage-engine-in-action">How to see the storage engine in action</h3>
651676
<p>When developing this handler, I compiled the FederatedX database with debugging:</p>
@@ -678,7 +703,7 @@ <h2 class="anchored_heading" id="how-do-i-create-a-federated-server">How do I cr
678703
<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>
679704
<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>
680705
<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>
681-
<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="3e4e5f4a597e0f070c100f0806100f100f0c0d">[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="f080918497b0c1c9c2dec1c6c8dec1dec1c2c3">[email&#160;protected]</a>/first_db/test_table&#39;</span><span class="p">;</span>
682707
</pre><p>You could instead create this with a server:</p>
683708
<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>
684709
<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: Authentication Plugin - PARSEC</title><link>https://mariadb.com/kb/en/authentication-plugin-parsec/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/authentication-plugin-parsec/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 27 Feb 2025 01:05:00 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Authentication Plugin - PARSEC</title><link>https://mariadb.com/kb/en/authentication-plugin-parsec/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/authentication-plugin-parsec/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:03:10 +0000</lastBuildDate></channel></rss>

archive/en/authentication-plugin-parsec/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,12 @@
274274
<dt>Created</dt>
275275
<dd>
276276

277-
<span class="datetime" title="2024-06-25 12:47">8 months ago</span></dd>
277+
<span class="datetime" title="2024-06-25 12:47">8 months, 1 week ago</span></dd>
278278

279279
<dt>Modified</dt>
280280
<dd>
281281

282-
<span class="datetime" title="2025-02-26 21:52">3 hours, 12 minutes ago</span></dd>
282+
<span class="datetime" title="2025-02-26 21:52">1 day, 3 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: Error 1044: Access denied for user</title><link>https://mariadb.com/kb/en/e1044/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/e1044/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 27 Feb 2025 01:05:21 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Error 1044: Access denied for user</title><link>https://mariadb.com/kb/en/e1044/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/e1044/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:03:23 +0000</lastBuildDate></channel></rss>

archive/en/e1044/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<dt>Modified</dt>
292292
<dd>
293293

294-
<span class="datetime" title="2025-02-26 21:13">3 hours, 52 minutes ago</span></dd>
294+
<span class="datetime" title="2025-02-26 21:13">1 day, 3 hours ago</span></dd>
295295

296296
<dt>Type</dt>
297297
<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: Error 1045: Access denied for user (using password)</title><link>https://mariadb.com/kb/en/e1045/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/e1045/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 27 Feb 2025 01:04:28 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Error 1045: Access denied for user (using password)</title><link>https://mariadb.com/kb/en/e1045/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/e1045/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:02:53 +0000</lastBuildDate></channel></rss>

archive/en/e1045/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<dt>Modified</dt>
292292
<dd>
293293

294-
<span class="datetime" title="2025-02-26 10:46">14 hours, 18 minutes ago</span></dd>
294+
<span class="datetime" title="2025-02-26 10:46">1 day, 14 hours ago</span></dd>
295295

296296
<dt>Type</dt>
297297
<dd>article</dd>

0 commit comments

Comments
 (0)