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-1Lines changed: 1 addition & 1 deletion
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>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><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>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><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>
</pre><p>All subsequent calls to any FederatedX table using the 'server_one' will now be against tables in <codeclass="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
</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>
</pre><p>In this case the table structure must match exactly the table on the foreign server.</p>
675
675
<h3class="anchored_heading" id="how-to-see-the-storage-engine-in-action">How to see the storage engine in action</h3>
676
676
<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
703
703
<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>
704
704
<p>For instance, if you wanted to connect to a table, <codeclass="highlight fixed" style="white-space:pre-wrap">first_db.test_table</code>, using this definition: </p>
@@ -467,11 +467,12 @@ <h1>Connect with MariaDB Connector/C++ - Source</h1>
467
467
| ##tlsKey## | File path to a private key file. | string | | <<entity>>bull<</entity>> ##sslKey## |
468
468
| ##tlsPeerFP## | A SHA1 fingerprint of a server certificate for validation during the TLS handshake. | string | | <<entity>>bull<</entity>> ##tlsPeerFp## \\ <<entity>>bull<</entity>> ##MARIADB_OPT_SSL_FP## |
469
469
| ##tlsPeerFPList## | A file containing one or more SHA1 fingerprints of server certificates for validation during the TLS handshake. | string | | <<entity>>bull<</entity>> ##tlsPeerFpList## \\ <<entity>>bull<</entity>> ##MARIADB_OPT_SSL_FP_LIST## |
470
+
| ##trustServerCertificate## | When using TLS, do not check server's certificate. | bool | TRUE | |
470
471
| ##useBulkStmts## | An optimized mode of ##executeBatch/executeLargeBatch## PreparedStatement methods execution that uses the MariaDB bulk execution feature. If used with ##rewriteBatchedStatements##, ##rewriteBatchedStatements## takes precedence. | | | |
471
472
| ##useCompression## | Compresses network traffic between the client and server. | bool | FALSE | <<entity>>bull<</entity>> ##CLIENT_COMPRESS## |
472
473
| ##user## | Defines the user name of the user account to connect with. | | |<<entity>>bull<</entity>> ##userName## ([[ #sqldriverconnect | sql::Driver::connect()]] connection method only) |
473
474
| ##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 | | <<entity>>bull<</entity>> ##useSsl## \\ <<entity>>bull<</entity>> ##useSSL## |
475
+
| ##useTls## | Whether to force TLS. This enables TLS with the default system settings. | bool | FALSE | <<entity>>bull<</entity>> ##useSsl## \\ <<entity>>bull<</entity>> ##useSSL## |
475
476
<</style>>
476
477
== Connection Methods
477
478
Two categories of methods are available to to establish a connection.
<tr><td><code>tlsKey</code></td><td>File path to a private key file.</td><td>string</td><td></td><td><span>•</span><code>sslKey</code></td></tr>
561
561
<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>•</span><code>tlsPeerFp</code><br><span>•</span><code>MARIADB_OPT_SSL_FP</code></td></tr>
562
562
<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>•</span><code>tlsPeerFpList</code><br><span>•</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>
563
564
<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>
564
565
<tr><td><code>useCompression</code></td><td>Compresses network traffic between the client and server.</td><td>bool</td><td>FALSE</td><td><span>•</span><code>CLIENT_COMPRESS</code></td></tr>
565
566
<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>•</span><code>userName</code> (<ahref="#sqldriverconnect">sql::Driver::connect()</a> connection method only)</td></tr>
566
567
<tr><td><code>useServerPrepStmts</code></td><td>Defines whether the connector uses server-side prepared statements using the <ahref="https://mariadb.com/kb/en/prepare-statement/">PREPARE</a>, <ahref="https://mariadb.com/kb/en/execute-statement/">EXECUTE</a>, and <ahref="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>•</span><code>useSsl</code><br><span>•</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>•</span><code>useSsl</code><br><span>•</span><code>useSSL</code></td></tr>
<rssxmlns: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:linkhref="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
+
<rssxmlns: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:linkhref="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>
0 commit comments