You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: archive/en/about-federatedx/+comments/feed/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
-
<rssxmlns: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:linkhref="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><p>Thanks a lot. Just what I needed.</p>
2
+
<rssxmlns: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:linkhref="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><p>Thanks a lot. Just what I needed.</p>
3
3
</description><dc:creatorxmlns: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><p>You can view existing servers by querying the <a href="/kb/en/mysqlservers-table/">mysql.servers</a> table. You can delete servers with the <a href="/kb/en/drop-server/">DROP SERVER</a> statement.</p>
4
4
</description><dc:creatorxmlns: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><p>I have added a server with the "create server" syntax shown in <a href="/kb/en/about-federatedx/#how-do-i-create-a-federated-server">How do I create a federated server</a>.</p>
5
5
<p>How do I <strong>list</strong> any created servers and how do I <strong>delete</strong> a server I have created accidentally?</p>
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, <<fixed>>federated.t1<</fixed>> against the table <<fixed>>db1.t1<</fixed>> on the remote server.
ALTER SERVER 'server_one' options(DATABASE 'db2');
481
482
<</code>>
482
483
483
-
All subsequent calls to any FederatedX table using the 'server_one' 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 'server_one' will now be against tables in <<fixed>>db2<</fixed>>! 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
485
485
486
This <<fixed>>connection="connection string"<</fixed>> is necessary
486
487
for the handler to be able to connect to the foreign server, either
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.
671
672
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, <<fixed>>first_db.test_table<</fixed>>, using this definition:
On the server where you create this <<fixed>>test_table<</fixed>> you will now have access to the tabel <<fixed>>t1<</fixed>> on the remote server found on 192.168.1.123.
700
+
On the server where you create this <<fixed>>federated_test_table<</fixed>> you will now have access to the table <<fixed>>test_table<</fixed>> in the <<fixed>>first_db<</fixed>> database on the remote server found on 192.168.1.123.
700
701
701
702
== How does FederatedX differ from the old Federated Engine?
0 commit comments