Skip to content

Commit f2687be

Browse files
author
KB Crawler
committed
KB crawler nightly commit
1 parent cea3767 commit f2687be

File tree

68 files changed

+1043
-521
lines changed

Some content is hidden

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

68 files changed

+1043
-521
lines changed

archive/+changes/index.html

+393-340
Large diffs are not rendered by default.

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

+1-1
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>Mon, 24 Feb 2025 04:56:19 +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>Wed, 26 Feb 2025 01:03:47 +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/+comments/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Comments - About FederatedX
3232
" />
3333
<meta property="og:type" content="article" />
34-
<meta property="og:url" content="https://mariadb.com/kb/en/about-federatedx/+comments" />
34+
<meta property="og:url" content="https://mariadb.com/kb/en/about-federatedx/+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/about-federatedx/+comments"> Login</a>
79+
<a href="/kb/user/login?next=/kb/en/about-federatedx/+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/about-federatedx/+comments" rel="nofollow">Login</a>
124+
<a href="/kb/user/login?next=/kb/en/about-federatedx/+comments/" rel="nofollow">Login</a>
125125
</li>
126126

127127

archive/en/about-federatedx/+source/index.html

+18-17
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/128607/">128607</a></dd>
318+
<dd><a href="/kb/en/about-federatedx/+r/147884/">147884</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="2023-08-08 10:17">2023-08-08 10:17</span></dd>
327+
<span class="datetime" title="2025-02-25 11:46">2025-02-25 11:46</span></dd>
328328
</dl>
329329
</div>
330330

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

455-
Then the FederatedX table is created specifying the newly created Federated server:
455+
Then the FederatedX table is created specifying the newly created Federated server.
456+
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.
456457

457458
&lt;&lt;code lang=sql inline=false&gt;&gt;
458-
CREATE TABLE federatedx.t1 (
459+
CREATE TABLE federated.t1 (
459460
`id` int(20) NOT NULL,
460461
`name` varchar(64) NOT NULL default &#39;&#39;
461462
)
@@ -480,7 +481,7 @@ <h1>About FederatedX - Source</h1>
480481
ALTER SERVER &#39;server_one&#39; options(DATABASE &#39;db2&#39;);
481482
&lt;&lt;/code&gt;&gt;
482483

483-
All subsequent calls to any FederatedX table using the &#39;server_one&#39; will now be against db2.t1! Guess what? You no longer have to perform an alter table in order to point one or more FederatedX tables to a new server!
484+
All subsequent calls to any FederatedX table using the &#39;server_one&#39; will now be against tables in &lt;&lt;fixed&gt;&gt;db2&lt;&lt;/fixed&gt;&gt;! Guess what? You no longer have to perform an alter table in order to point one or more FederatedX tables to a new server!
484485

485486
This &lt;&lt;fixed&gt;&gt;connection=&#34;connection string&#34;&lt;&lt;/fixed&gt;&gt; is necessary
486487
for the handler to be able to connect to the foreign server, either
@@ -563,7 +564,7 @@ <h1>About FederatedX - Source</h1>
563564
First, on the foreign database you create a table, for example:
564565

565566
&lt;&lt;code wrap=true lang=sql&gt;&gt;
566-
CREATE TABLE test_table (
567+
CREATE TABLE federated.test_table (
567568
id int(20) NOT NULL auto_increment,
568569
name varchar(32) NOT NULL default &#39;&#39;,
569570
other int(20) NOT NULL default &#39;0&#39;,
@@ -576,8 +577,8 @@ <h1>About FederatedX - Source</h1>
576577
Then, on the server that will be connecting to the foreign host (client), you create a federated table without specifying the table structure:
577578

578579
&lt;&lt;sql&gt;&gt;
579-
CREATE TABLE test_table ENGINE=FEDERATED
580-
CONNECTION=&#39;mysql://[email protected]:9306/federatedx/test_federatedx&#39;;
580+
CREATE TABLE federated_test_table ENGINE=FEDERATED
581+
CONNECTION=&#39;mysql://[email protected]:9306/federated/test_table&#39;;
581582
&lt;&lt;/sql&gt;&gt;
582583

583584
Notice the &#34;ENGINE&#34; and &#34;CONNECTION&#34; fields? This is where you
@@ -592,7 +593,7 @@ <h1>About FederatedX - Source</h1>
592593
Alternatively (or if you&#39;re using MariaDB before version 10.0.2) you specify the federated table structure explicitly:
593594

594595
&lt;&lt;sql&gt;&gt;
595-
CREATE TABLE test_table (
596+
CREATE TABLE federated_test_table (
596597
id int(20) NOT NULL auto_increment,
597598
name varchar(32) NOT NULL default &#39;&#39;,
598599
other int(20) NOT NULL default &#39;0&#39;,
@@ -601,7 +602,7 @@ <h1>About FederatedX - Source</h1>
601602
KEY other_key (other))
602603
ENGINE=FEDERATED
603604
DEFAULT CHARSET=latin1
604-
CONNECTION=&#39;mysql://[email protected]:9306/federatedx/test_federatedx&#39;;
605+
CONNECTION=&#39;mysql://[email protected]:9306/federated/test_table&#39;;
605606
&lt;&lt;/sql&gt;&gt;
606607

607608
In this case the table structure must match exactly the table on the foreign server.
@@ -669,13 +670,13 @@ <h1>About FederatedX - Source</h1>
669670

670671
A federated server is a way to have a foreign data source defined-- with all connection parameters-- so that you don&#39;t have to specify explicitly the connection parameters in a string.
671672

672-
For instance, if you wanted to connect to a table, t1, using this definition:
673+
For instance, if you wanted to connect to a table, &lt;&lt;fixed&gt;&gt;first_db.test_table&lt;&lt;/fixed&gt;&gt;, using this definition:
673674

674675
&lt;&lt;sql&gt;&gt;
675-
CREATE TABLE test_table ENGINE=FEDERATED
676-
CONNECTION=&#39;mysql://[email protected]/first_db/t1&#39;;
676+
CREATE TABLE federated_test_table ENGINE=FEDERATED
677+
CONNECTION=&#39;mysql://[email protected]/first_db/test_table&#39;;
677678
&lt;&lt;/sql&gt;&gt;
678-
679+
679680
You could instead create this with a server:
680681

681682
&lt;&lt;sql&gt;&gt;
@@ -692,11 +693,11 @@ <h1>About FederatedX - Source</h1>
692693
You could now specify the server instead of the full URL in the connection string:
693694

694695
&lt;&lt;sql&gt;&gt;
695-
CREATE TABLE test_table ENGINE=FEDERATED
696-
CONNECTION=&#39;server_one/t1&#39;;
696+
CREATE TABLE federated_test_table ENGINE=FEDERATED
697+
CONNECTION=&#39;server_one/test_table&#39;;
697698
&lt;&lt;/sql&gt;&gt;
698699

699-
On the server where you create this &lt;&lt;fixed&gt;&gt;test_table&lt;&lt;/fixed&gt;&gt; you will now have access to the tabel &lt;&lt;fixed&gt;&gt;t1&lt;&lt;/fixed&gt;&gt; on the remote server found on 192.168.1.123.
700+
On the server where you create this &lt;&lt;fixed&gt;&gt;federated_test_table&lt;&lt;/fixed&gt;&gt; you will now have access to the table &lt;&lt;fixed&gt;&gt;test_table&lt;&lt;/fixed&gt;&gt; in the &lt;&lt;fixed&gt;&gt;first_db&lt;&lt;/fixed&gt;&gt; database on the remote server found on 192.168.1.123.
700701

701702
== How does FederatedX differ from the old Federated Engine?
702703

0 commit comments

Comments
 (0)