source: server/databases/mariadb.xml@ 27534cc7

11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 27534cc7 was 27534cc7, checked in by Douglas R. Reno <renodr@…>, 8 months ago

Update to cmake-3.19.6
Update to mariadb-10.5.9
Update to cbindgen-0.18.0
Update to vala-0.50.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24327 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 40.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7
8 <!ENTITY mariadb-download-http "https://downloads.mariadb.org/interstitial/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz">
9 <!ENTITY mariadb-download-ftp "ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz">
10 <!ENTITY mariadb-md5sum "d5ff75792dde53ba487567bd7e658198">
11 <!ENTITY mariadb-size "85 MB">
12 <!ENTITY mariadb-buildsize "2.3 GB (645 MB installed)">
13 <!ENTITY mariadb-time "8.1 SBU (with parallelism=4, add 0.4 SBU for tests)">
14]>
15
16<sect1 id="mariadb" xreflabel="MariaDB-&mariadb-version;">
17 <?dbhtml filename="mariadb.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>MariaDB-&mariadb-version;</title>
25
26 <indexterm zone="mariadb">
27 <primary sortas="a-MariaDB">MariaDB</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to MariaDB</title>
32
33 <para>
34 <application>MariaDB</application> is a community-developed fork and a
35 drop-in replacement for the <application>MySQL</application> relational
36 database management system.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&mariadb-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&mariadb-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &mariadb-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &mariadb-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &mariadb-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &mariadb-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <note>
76 <para>
77 The installed size of MariaDB is 644 MB, but this can be
78 reduced by about 244 MB, if desired, by removing the <filename
79 class="directory">/usr/share/mysql/test</filename>
80 directory after installation.
81 </para>
82 </note>
83
84 <bridgehead renderas="sect3">MariaDB Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="cmake"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <xref linkend="libevent"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="boost"/>,
99 <xref linkend="libaio"/>,
100 <xref linkend="libxml2"/>,
101 <xref linkend="linux-pam"/>,
102 <xref linkend="mitkrb"/>,
103 <xref linkend="pcre"/>,
104 <xref linkend="ruby"/>,
105 <xref linkend="unixodbc"/>,
106 <xref linkend="valgrind"/>,
107 <ulink url="http://groonga.org/">Groonga</ulink>,
108 <ulink url="http://www.phontron.com/kytea/">KyTea</ulink>,
109 <ulink url="http://sourceforge.net/projects/judy/">Judy</ulink>,
110 <ulink url="https://github.com/Cyan4973/lz4">lz4</ulink>,
111 <ulink url="http://taku910.github.io/mecab">MeCab</ulink>,
112 <ulink url="http://msgpack.org/">MessagePack</ulink>,
113 <ulink url="http://www.mruby.org/">mruby</ulink>,
114 <ulink url="https://google.github.io/snappy/">Snappy</ulink>,
115 <ulink url="http://sphinxsearch.com/downloads/">Sphinx</ulink>,
116 <ulink url="https://mariadb.com/kb/en/mariadb/tokudb/">TokuDB</ulink>, and
117 <ulink url="http://zeromq.org/">ZeroMQ</ulink>
118 </para>
119
120 <para condition="html" role="usernotes">User Notes:
121 <ulink url="&blfs-wiki;/mariadb"/>
122 </para>
123
124 </sect2>
125
126 <sect2 role="installation">
127 <title>Installation of MariaDB</title>
128
129 <warning>
130 <para>
131 MariaDB and MySQL cannot be installed on the same system without
132 extensive changes to the build configuration of one of the two applications.
133 </para>
134 </warning>
135
136 <para>
137 For security reasons, running the server as an unprivileged user
138 and group is strongly encouraged. Issue the following (as
139 <systemitem class="username">root</systemitem>) to create the
140 user and group:
141 </para>
142
143<screen role="root"><userinput>groupadd -g 40 mysql &amp;&amp;
144useradd -c "MySQL Server" -d /srv/mysql -g mysql -s /bin/false -u 40 mysql</userinput></screen>
145
146 <para>
147 Install <application>MariaDB</application> by running the
148 following commands:
149 </para>
150
151<screen><userinput>mkdir build &amp;&amp;
152cd build &amp;&amp;
153
154cmake -DCMAKE_BUILD_TYPE=Release \
155 -DCMAKE_INSTALL_PREFIX=/usr \
156 -DINSTALL_DOCDIR=share/doc/mariadb-&mariadb-version; \
157 -DINSTALL_DOCREADMEDIR=share/doc/mariadb-&mariadb-version; \
158 -DINSTALL_MANDIR=share/man \
159 -DINSTALL_MYSQLSHAREDIR=share/mysql \
160 -DINSTALL_MYSQLTESTDIR=share/mysql/test \
161 -DINSTALL_PLUGINDIR=lib/mysql/plugin \
162 -DINSTALL_SBINDIR=sbin \
163 -DINSTALL_SCRIPTDIR=bin \
164 -DINSTALL_SQLBENCHDIR=share/mysql/bench \
165 -DINSTALL_SUPPORTFILESDIR=share/mysql \
166 -DMYSQL_DATADIR=/srv/mysql \
167 -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
168 -DWITH_EXTRA_CHARSETS=complex \
169 -DWITH_EMBEDDED_SERVER=ON \
170 -DSKIP_TESTS=ON \
171 -DTOKUDB_OK=0 \
172 .. &amp;&amp;
173make</userinput></screen>
174
175 <para>
176 To test the results, issue: <command>make test</command>.
177 One test, test-connect, is known to fail.
178 </para>
179
180 <note><para>
181 A more extensive set of tests can be run with the following:</para>
182
183<screen remap="test"><userinput>pushd mysql-test
184./mtr --parallel <replaceable>&lt;N&gt;</replaceable> --mem --force
185popd</userinput></screen>
186
187 <para>
188 Where N is the number of tests to run in parallel.
189 Over 5400 tests are run in about 24 SBU with N=4. Two tests
190 are known to fail due to character set issues.
191 </para></note>
192
193 <para>
194 Now, as the <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>make install </userinput></screen>
198
199 </sect2>
200
201 <sect2 role="commands">
202 <title>Command Explanations</title>
203
204 <para>
205 <parameter>-DWITH_EMBEDDED_SERVER=ON</parameter>: This switch enables
206 compiling the embedded server library needed by certain applications,
207 such as <application>Amarok</application>.
208 </para>
209
210 <para>
211 <parameter>-DWITH_EXTRA_CHARSETS=complex</parameter>: This switch enables
212 support for the complex character sets.
213 </para>
214
215 <para>
216 <parameter>-DSKIP_TESTS=ON</parameter>: This switch disables
217 tests for MariaDB Connector/C which are not supported without
218 additional setup.
219 </para>
220
221 <para>
222 <option>-DWITHOUT_SERVER=ON</option>: Use this
223 switch if you don't want the server and would like to build the client
224 only.
225 </para>
226
227 <note><para>
228 There are numerous options available to <command>cmake</command>. Check
229 the output of the <command>cmake . -LH</command> for additional
230 customization options.
231 </para></note>
232
233 </sect2>
234
235 <sect2 role="configuration">
236 <title>Configuring MySQL</title>
237
238 <sect3 id="mariadb-config">
239 <title>Config Files</title>
240
241 <para>
242 <filename>/etc/mysql/my.cnf</filename> and
243 <filename>~/.my.cnf</filename>
244 </para>
245
246 <indexterm zone="mariadb mariadb-config">
247 <primary sortas="e-AA.my.cnf">~/.my.cnf</primary>
248 </indexterm>
249
250 <indexterm zone="mariadb mariadb-config">
251 <primary sortas="e-etc-mysql-my.cnf">/etc/mysql/my.cnf</primary>
252 </indexterm>
253
254 </sect3>
255
256 <sect3>
257 <title>Configuration Information</title>
258
259 <para>
260 Create basic <filename>/etc/mysql/my.cnf</filename>
261 using the following command as the <systemitem
262 class="username">root</systemitem> user:
263 </para>
264
265<screen role="root"><userinput>install -v -dm 755 /etc/mysql &amp;&amp;
266cat &gt; /etc/mysql/my.cnf &lt;&lt; "EOF"
267<literal># Begin /etc/mysql/my.cnf
268
269# The following options will be passed to all MySQL clients
270[client]
271#password = your_password
272port = 3306
273socket = /run/mysqld/mysqld.sock
274
275# The MySQL server
276[mysqld]
277port = 3306
278socket = /run/mysqld/mysqld.sock
279datadir = /srv/mysql
280skip-external-locking
281key_buffer_size = 16M
282max_allowed_packet = 1M
283sort_buffer_size = 512K
284net_buffer_length = 16K
285myisam_sort_buffer_size = 8M
286
287# Don't listen on a TCP/IP port at all.
288skip-networking
289
290# required unique id between 1 and 2^32 - 1
291server-id = 1
292
293# Uncomment the following if you are using BDB tables
294#bdb_cache_size = 4M
295#bdb_max_lock = 10000
296
297# InnoDB tables are now used by default
298innodb_data_home_dir = /srv/mysql
299innodb_log_group_home_dir = /srv/mysql
300# All the innodb_xxx values below are the default ones:
301innodb_data_file_path = ibdata1:12M:autoextend
302# You can set .._buffer_pool_size up to 50 - 80 %
303# of RAM but beware of setting memory usage too high
304innodb_buffer_pool_size = 128M<!--
305This variable has been removed in version 10.2.2:
306innodb_additional_mem_pool_size = 2M-->
307innodb_log_file_size = 48M
308innodb_log_buffer_size = 16M
309innodb_flush_log_at_trx_commit = 1
310innodb_lock_wait_timeout = 50
311
312[mysqldump]
313quick
314max_allowed_packet = 16M
315
316[mysql]
317no-auto-rehash
318# Remove the next comment character if you are not familiar with SQL
319#safe-updates
320
321[isamchk]
322key_buffer = 20M
323sort_buffer_size = 20M
324read_buffer = 2M
325write_buffer = 2M
326
327[myisamchk]
328key_buffer_size = 20M
329sort_buffer_size = 20M
330read_buffer = 2M
331write_buffer = 2M
332
333[mysqlhotcopy]
334interactive-timeout
335
336# End /etc/mysql/my.cnf</literal>
337EOF</userinput></screen>
338
339 <para>
340 You can now install a database and change the ownership to the
341 unprivileged user and group (perform as the <systemitem
342 class="username">root</systemitem> user):
343 </para>
344
345<screen role="root"><userinput>mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql &amp;&amp;
346chown -R mysql:mysql /srv/mysql</userinput></screen>
347
348 <para>
349 Further configuration requires that the
350 <application>MariaDB</application> server is running. Start
351 the server using the following commands as the <systemitem
352 class="username">root</systemitem> user:
353 </para>
354
355<screen role="root"><userinput>install -v -m755 -o mysql -g mysql -d /run/mysqld &amp;&amp;
356mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen>
357
358 <para>
359 A default installation does not set up a password for the
360 administrator, so use the following command as the <systemitem
361 class="username">root</systemitem> user to set one.
362 </para>
363
364<screen role="root"><userinput>mysqladmin -u root password</userinput></screen>
365
366 <para>
367 Configuration of the server is now finished. Shut the server
368 down using the following command as the <systemitem
369 class="username">root</systemitem> user:
370 </para>
371
372<screen role="root"><userinput>mysqladmin -p shutdown</userinput></screen>
373
374 </sect3>
375
376 <sect3 id="mariadb-init">
377 <title><phrase revision="sysv">Boot Script</phrase>
378 <phrase revision="systemd">Systemd Unit</phrase></title>
379
380 <para>
381 Install the
382 <phrase revision="sysv"><filename>/etc/rc.d/init.d/mysql</filename> init
383 script</phrase>
384 <phrase revision="systemd"><filename>mysqld.service</filename>
385 unit</phrase> included in the
386 <xref linkend="bootscripts" revision="sysv"/>
387 <xref linkend="systemd-units" revision="systemd"/> package as
388 the <systemitem class="username">root</systemitem> user to start the
389 <application>MariaDB</application> server during system boot-up.
390 </para>
391
392 <indexterm zone="mariadb mariadb-init">
393 <primary sortas="f-mysql">mysql</primary>
394 </indexterm>
395
396<screen role="root" revision="sysv"><userinput>make install-mysql</userinput></screen>
397
398<screen role="root" revision="systemd"><userinput>make install-mysqld</userinput></screen>
399
400 </sect3>
401
402 </sect2>
403
404 <sect2 role="content">
405 <title>Contents</title>
406
407 <segmentedlist>
408 <segtitle>Installed Programs</segtitle>
409 <segtitle>Installed Libraries</segtitle>
410 <segtitle>Installed Directories</segtitle>
411
412 <seglistitem>
413 <seg>
414 aria_chk, aria_dump_log, aria_ftdump, aria_pack, aria_read_log,
415 aria_s3_copy, galera_new_cluster, galera_recovery,
416 innochecksum, mariabackup, mariadb, mariadbd, mariadb-access,
417 mariadb-admin, mariadb-backup, mariadb-binlog, mariadb-check,
418 mariadb-client-test, mariadb-client-test-embedded, mariadb-conv,
419 mariadb-convert-table-format, mariadb-find-rows, mariadbd-multi,
420 mariadbd-safe, mariadbd-safe-helper, mariadb-dump, mariadb-dumpslow,
421 mariadb-embedded, mariadb-fix-extensions, mariadb-hotcopy,
422 mariadb-import, mariadb-install-db, mariadb-ldb, mariadb-plugin,
423 mariadb-secure-installation, mariadb-setpermission,
424 mariadb-service-convert, mariadb-show,
425 mariadb-slap, mariadb-test, mariadb-test-embedded,
426 mariadb-tzinfo-to-sql, mariadb-upgrade, mariadb-waitpid,
427 mariadb_config,
428 mbstream, msql2mysql, my_print_defaults, myisamchk,
429 myisam_ftdump, myisamlog, myisampack, mysql_config, mytop, perror,
430 replace, resolve_stack_dump, resolveip, sst_dump, wsrep_sst_common,
431 wsrep_sst_mariabackup, wsrep_sst_mysqldump, and wsrep_sst_rsync
432 </seg>
433 <seg>
434 libmariadbclient.a, libmariadb.so, libmariadbd.so, libmysqlclient.a,
435 libmysqlclient_r.a (symbolic links to libmariadbclient.a),
436 libmysqld.{so,a}, libmysqlservices.a,
437 and several under /usr/lib/mysql/plugin/
438 </seg>
439 <seg>
440 /etc/mysql,
441 /usr/{include,lib,share}/mysql,
442 /usr/share/groonga{-normalizer-mysql}, and
443 /usr/share/doc/mariadb-&mariadb-version;
444 </seg>
445 </seglistitem>
446 </segmentedlist>
447
448 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
449
450 <para>
451 There are several symlinks from mysql* to their mariadb
452 counterparts. These are maintained for compatibility.
453 </para>
454
455<!--
456 <para>
457 Descriptions of all the programs and libraries would be several
458 pages long. Instead, consult the man pages
459 or the online documentation at <ulink
460 url="https://mariadb.com/kb/en/mariadb-documentation/"/>.
461 </para>
462-->
463 <para>
464 The <application>Perl</application> DBI modules must be installed
465 for some of the <application>MariaDB</application> support programs to
466 function properly.
467 </para>
468
469 <variablelist>
470 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
471 <?dbfo list-presentation="list"?>
472 <?dbhtml list-presentation="table"?>
473
474 <varlistentry id="aria_chk-mariadb">
475 <term><command>aria_chk</command></term>
476 <listitem>
477 <para>
478 is used to check, repair, optimize, sort and get information
479 about Aria tables
480 </para>
481 <indexterm zone="mariadb aria_chk-mariadb">
482 <primary sortas="b-aria_chk-mariadb">aria_chk</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="aria_dump_log-mariadb">
488 <term><command>aria_dump_log</command></term>
489 <listitem>
490 <para>
491 is a tool to dump the contents of Aria log pages
492 </para>
493 <indexterm zone="mariadb aria_dump_log-mariadb">
494 <primary sortas="b-aria_dump_log-mariadb">aria_dump_log</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="aria_ftdump-mariadb">
500 <term><command>aria_ftdump</command></term>
501 <listitem>
502 <para>
503 displays full-text index information
504 </para>
505 <indexterm zone="mariadb aria_ftdump-mariadb">
506 <primary sortas="b-aria_ftdump-mariadb">aria_ftdump</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="aria_pack-mariadb">
512 <term><command>aria_pack</command></term>
513 <listitem>
514 <para>
515 is a tool to generate compressed, read-only Aria tables
516 </para>
517 <indexterm zone="mariadb aria_pack-mariadb">
518 <primary sortas="b-aria_pack-mariadb">aria_pack</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="aria_read_log-mariadb">
524 <term><command>aria_read_log</command></term>
525 <listitem>
526 <para>
527 displays Aria log file contents
528 </para>
529 <indexterm zone="mariadb aria_read_log-mariadb">
530 <primary sortas="b-aria_read_log-mariadb">aria_read_log</primary>
531 </indexterm>
532 </listitem>
533 </varlistentry>
534
535 <varlistentry id="aria_s3_copy-mariadb">
536 <term><command>aria_s3_copy</command></term>
537 <listitem>
538 <para>
539 copies an aria table to and from AWS S3
540 </para>
541 <indexterm zone="mariadb aria_s3_copy-mariadb">
542 <primary sortas="b-aria_s3_copy-mariadb">aria_s3_copy</primary>
543 </indexterm>
544 </listitem>
545 </varlistentry>
546
547 <varlistentry id="galera_new_cluster-mariadb">
548 <term><command>galera_new_cluster</command></term>
549 <listitem>
550 <para>
551 bootstraps a new Galera cluster
552 </para>
553 <indexterm zone="mariadb galera_new_cluster-mariadb">
554 <primary sortas="b-galera_new_cluster-mariadb">galera_new_cluster</primary>
555 </indexterm>
556 </listitem>
557 </varlistentry>
558
559 <varlistentry id="galera_recovery-mariadb">
560 <term><command>galera_recovery</command></term>
561 <listitem>
562 <para>
563 recovers data from a Galera cluster
564 </para>
565 <indexterm zone="mariadb galera_recovery-mariadb">
566 <primary sortas="b-galera_recovery-mariadb">galera_recovery</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="innochecksum-mariadb">
572 <term><command>innochecksum</command></term>
573 <listitem>
574 <para>
575 prints checksums for InnoDB files
576 </para>
577 <indexterm zone="mariadb innochecksum-mariadb">
578 <primary sortas="b-innochecksum-mariadb">innochecksum</primary>
579 </indexterm>
580 </listitem>
581 </varlistentry>
582
583 <varlistentry id="mariabackup-mariadb">
584 <term><command>mariabackup</command></term>
585 <listitem>
586 <para>
587 is an open source backup tool for InnoDB and XtraDB
588 </para>
589 <indexterm zone="mariadb mariabackup-mariadb">
590 <primary sortas="b-mariabackup-mariadb">mariabackup</primary>
591 </indexterm>
592 </listitem>
593 </varlistentry>
594
595 <varlistentry id="mariadb-mariadb">
596 <term><command>mariadb</command></term>
597 <listitem>
598 <para>
599 is a simple SQL shell with input line editing capabilities
600 </para>
601 <indexterm zone="mariadb mariadb-mariadb">
602 <primary sortas="b-mariadb-mariadb">mariadb</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="mariadbd-mariadb">
608 <term><command>mariadbd</command></term>
609 <listitem>
610 <para>
611 is the MySQL server daemon
612 </para>
613 <indexterm zone="mariadb mariadbd-mariadb">
614 <primary sortas="b-mariadbd-mariadb">mariadbd</primary>
615 </indexterm>
616 </listitem>
617 </varlistentry>
618
619 <varlistentry id="mariadb-access-mariadb">
620 <term><command>mariadb-access</command></term>
621 <listitem>
622 <para>
623 checks the access privileges for a host name, user name, and
624 database combination
625 </para>
626 <indexterm zone="mariadb mariadb-access-mariadb">
627 <primary sortas="b-mariadb-access-mariadb">mariadb-access</primary>
628 </indexterm>
629 </listitem>
630 </varlistentry>
631
632 <varlistentry id="mariadb-admin-mariadb">
633 <term><command>mariadb-admin</command></term>
634 <listitem>
635 <para>
636 is a client for performing administrative operations
637 </para>
638 <indexterm zone="mariadb mariadb-admin-mariadb">
639 <primary sortas="b-mariadb-admin-mariadb">mariadb-admin</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
644 <varlistentry id="mariadb-binlog-mariadb">
645 <term><command>mariadb-binlog</command></term>
646 <listitem>
647 <para>
648 reads binary log files
649 </para>
650 <indexterm zone="mariadb mariadb-binlog-mariadb">
651 <primary sortas="b-mariadb-binlog-mariadb">mariadb-binlog</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="mariadb-check-mariadb">
657 <term><command>mariadb-check</command></term>
658 <listitem>
659 <para>
660 performs table maintenance: It checks, repairs, optimizes,
661 or analyzes tables
662 </para>
663 <indexterm zone="mariadb mariadb-check-mariadb">
664 <primary sortas="b-mariadb-check-mariadb">mariadb-check</primary>
665 </indexterm>
666 </listitem>
667 </varlistentry>
668
669 <varlistentry id="mariadb-client-test-mariadb">
670 <term><command>mariadb-client-test</command></term>
671 <listitem>
672 <para>
673 is used for testing aspects of the MySQL client API that cannot be
674 tested using mysqltest and its test language
675 </para>
676 <indexterm zone="mariadb mariadb-client-test-mariadb">
677 <primary sortas="b-mariadb-client-test-mariadb">mariadb-client-test</primary>
678 </indexterm>
679 </listitem>
680 </varlistentry>
681
682 <varlistentry id="mariadb-client-test-embedded-mariadb">
683 <term><command>mariadb-client-test-embedded</command></term>
684 <listitem>
685 <para>
686 is a tool to test the client API for the embedded server
687 </para>
688 <indexterm zone="mariadb mariadb-client-test-embedded-mariadb">
689 <primary sortas="b-mariadb-client-test-embedded-mariadb">mariadb-client-test-embedded</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="mariadb-conv-mariadb">
695 <term><command>mariadb-conv</command></term>
696 <listitem>
697 <para>
698 converts character sets for use with MariaDB
699 </para>
700 <indexterm zone="mariadb mariadb-conv-mariadb">
701 <primary sortas="b-mariadb-conv-mariadb">mariadb-conv</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="mariadb-convert-table-format-mariadb">
707 <term><command>mariadb-convert-table-format</command></term>
708 <listitem>
709 <para>
710 converts the tables in a database to use a particular storage
711 engine
712 </para>
713 <indexterm zone="mariadb mariadb-convert-table-format-mariadb">
714 <primary sortas="b-mariadb-convert-table-format-mariadb">mariadb-convert-table-format</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
719 <varlistentry id="mariadbd-multi-mariadb">
720 <term><command>mariadbd-multi</command></term>
721 <listitem>
722 <para>
723 is designed to manage several mysqld processes that listen for
724 connections on different Unix socket files and TCP/IP ports
725 </para>
726 <indexterm zone="mariadb mariadbd-multi-mariadb">
727 <primary sortas="b-mariadbd-multi-mariadb">mariadbd-multi</primary>
728 </indexterm>
729 </listitem>
730 </varlistentry>
731
732 <varlistentry id="mariadbd-safe-mariadb">
733 <term><command>mariadbd-safe</command></term>
734 <listitem>
735 <para>
736 is the recommended way to start a mysqld server on Unix
737 and NetWare
738 </para>
739 <indexterm zone="mariadb mariadbd-safe-mariadb">
740 <primary sortas="b-mariadbd-safe-mariadb">mariadbd-safe</primary>
741 </indexterm>
742 </listitem>
743 </varlistentry>
744
745 <varlistentry id="mariadb-dump-mariadb">
746 <term><command>mariadb-dump</command></term>
747 <listitem>
748 <para>
749 is a backup program
750 </para>
751 <indexterm zone="mariadb mariadb-dump-mariadb">
752 <primary sortas="b-mariadb-dump-mariadb">mariadb-dump</primary>
753 </indexterm>
754 </listitem>
755 </varlistentry>
756
757 <varlistentry id="mariadb-dumpslow-mariadb">
758 <term><command>mariadb-dumpslow</command></term>
759 <listitem>
760 <para>
761 parses MySQL slow query log files and prints a summary of their
762 contents
763 </para>
764 <indexterm zone="mariadb mariadb-dumpslow-mariadb">
765 <primary sortas="b-mariadb-dumpslow-mariadb">mariadb-dumpslow</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="mariadb-embedded-mariadb">
771 <term><command>mariadb-embedded</command></term>
772 <listitem>
773 <para>
774 is a MySQL client statically linked to
775 libmariadbd
776 </para>
777 <indexterm zone="mariadb mariadb-embedded-mariadb">
778 <primary sortas="b-mariadbd-embedded-mariadb">mariadbd-embedded</primary>
779 </indexterm>
780 </listitem>
781 </varlistentry>
782
783 <varlistentry id="mariadb-find-rows-mariadb">
784 <term><command>mariadb-find-rows</command></term>
785 <listitem>
786 <para>
787 reads files containing SQL statements and extracts statements that
788 match a given regular expression or that contain USE db_name or
789 SET statements
790 </para>
791 <indexterm zone="mariadb mariadb-find-rows-mariadb">
792 <primary sortas="b-mariadb-find-rows-mariadb">mariadb-find-rows</primary>
793 </indexterm>
794 </listitem>
795 </varlistentry>
796
797 <varlistentry id="mariadb-fix-extensions-mariadb">
798 <term><command>mariadb-fix-extensions</command></term>
799 <listitem>
800 <para>
801 converts the extensions for MyISAM (or ISAM) table files to
802 their canonical forms
803 </para>
804 <indexterm zone="mariadb mariadb-fix-extensions-mariadb">
805 <primary sortas="b-mariadb-fix-extensions-mariadb">mariadb-fix-extensions</primary>
806 </indexterm>
807 </listitem>
808 </varlistentry>
809
810 <varlistentry id="mariadb-hotcopy-mariadb">
811 <term><command>mariadb-hotcopy</command></term>
812 <listitem>
813 <para>
814 locks the table, flushes the table and then performs a copy of
815 the database
816 </para>
817 <indexterm zone="mariadb mariadb-hotcopy-mariadb">
818 <primary sortas="b-mariadb-hotcopy-mariadb">mariadb-hotcopy</primary>
819 </indexterm>
820 </listitem>
821 </varlistentry>
822
823 <varlistentry id="mariadb-import-mariadb">
824 <term><command>mariadb-import</command></term>
825 <listitem>
826 <para>
827 reads a range of data formats, and inserts the data into a
828 database
829 </para>
830 <indexterm zone="mariadb mariadb-import-mariadb">
831 <primary sortas="b-mariadb-import-mariadb">mariadb-import</primary>
832 </indexterm>
833 </listitem>
834 </varlistentry>
835
836 <varlistentry id="mariadb-install-db-mariadb">
837 <term><command>mariadb-install-db</command></term>
838 <listitem>
839 <para>
840 initializes the MySQL data directory and creates the system
841 tables that it contains, if they do not exist
842 </para>
843 <indexterm zone="mariadb mariadb-install-db-mariadb">
844 <primary sortas="b-mariadb-install-db-mariadb">mariadb-install-db</primary>
845 </indexterm>
846 </listitem>
847 </varlistentry>
848
849 <varlistentry id="mariadb-ldb-mariadb">
850 <term><command>mariadb-ldb</command></term>
851 <listitem>
852 <para>
853 is the RocksDB tool
854 </para>
855 <indexterm zone="mariadb mariadb-ldb-mariadb">
856 <primary sortas="b-mariadb-ldb-mariadb">mariadb-ldb</primary>
857 </indexterm>
858 </listitem>
859 </varlistentry>
860
861 <varlistentry id="mariadb-plugin-mariadb">
862 <term><command>mariadb-plugin</command></term>
863 <listitem>
864 <para>
865 is a utility that enables MySQL administrators to manage which
866 plugins a MySQL server loads
867 </para>
868 <indexterm zone="mariadb mariadb-plugin-mariadb">
869 <primary sortas="b-mariadb-plugin-mariadb">mariadb-plugin</primary>
870 </indexterm>
871 </listitem>
872 </varlistentry>
873
874 <varlistentry id="mariadb-secure-installation-mariadb">
875 <term><command>mariadb-secure-installation</command></term>
876 <listitem>
877 <para>
878 is a tool to improve MySQL installation security
879 </para>
880 <indexterm zone="mariadb mariadb-secure-installation-mariadb">
881 <primary sortas="b-mariadb-secure-installation-mariadb">mariadb-secure-installation</primary>
882 </indexterm>
883 </listitem>
884 </varlistentry>
885
886 <varlistentry id="mariadb-service-convert-mariadb">
887 <term><command>mariadb-service-convert</command></term>
888 <listitem>
889 <para>
890 generates a systemd unit based on the current mariadb settings
891 </para>
892 <indexterm zone="mariadb mariadb-service-convert-mariadb">
893 <primary sortas="b-mariadb-service-convert-mariadb">mariadb-service-convert</primary>
894 </indexterm>
895 </listitem>
896 </varlistentry>
897
898 <varlistentry id="mariadb-setpermission-mariadb">
899 <term><command>mariadb-setpermission</command></term>
900 <listitem>
901 <para>
902 sets permissions in the MySQL grant tables
903 </para>
904 <indexterm zone="mariadb mariadb-setpermission-mariadb">
905 <primary sortas="b-mariadb-setpermission-mariadb">mariadb-setpermission</primary>
906 </indexterm>
907 </listitem>
908 </varlistentry>
909
910 <varlistentry id="mariadb-show-mariadb">
911 <term><command>mariadb-show</command></term>
912 <listitem>
913 <para>
914 shows the structure of a MariaDB database
915 </para>
916 <indexterm zone="mariadb mariadb-show-mariadb">
917 <primary sortas="b-mariadb-show-mariadb">mariadb-show</primary>
918 </indexterm>
919 </listitem>
920 </varlistentry>
921
922 <varlistentry id="mariadb-slap-mariadb">
923 <term><command>mariadb-slap</command></term>
924 <listitem>
925 <para>
926 is a diagnostic program designed to emulate client load for a
927 MySQL server and to report the timing of each stage
928 </para>
929 <indexterm zone="mariadb mariadb-slap-mariadb">
930 <primary sortas="b-mariadb-slap-mariadb">mariadb-slap</primary>
931 </indexterm>
932 </listitem>
933 </varlistentry>
934
935 <varlistentry id="mariadb-test-mariadb">
936 <term><command>mariadb-test</command></term>
937 <listitem>
938 <para>
939 runs a test case against a MySQL server and optionally compares
940 the output with a result file
941 </para>
942 <indexterm zone="mariadb mariadb-test-mariadb">
943 <primary sortas="b-mariadb-test-mariadb">mariadb-test</primary>
944 </indexterm>
945 </listitem>
946 </varlistentry>
947
948 <varlistentry id="mariadb-test-embedded-mariadb">
949 <term><command>mariadb-test-embedded</command></term>
950 <listitem>
951 <para>
952 is similar to the <command>mysqltest</command> command but is built
953 with support for the libmysqld embedded server
954 </para>
955 <indexterm zone="mariadb mariadb-test-embedded-mariadb">
956 <primary sortas="b-mariadb-test-embedded-mariadb">mariadb-test-embedded</primary>
957 </indexterm>
958 </listitem>
959 </varlistentry>
960
961 <varlistentry id="mariadb-tzinfo-to-sql-mariadb">
962 <term><command>mariadb-tzinfo-to-sql</command></term>
963 <listitem>
964 <para>
965 loads the time zone tables in the mysql database
966 </para>
967 <indexterm zone="mariadb mariadb-tzinfo-to-sql-mariadb">
968 <primary sortas="b-mariadb-tzinfo-to-sql-mariadb">mariadb-tzinfo-to-sql</primary>
969 </indexterm>
970 </listitem>
971 </varlistentry>
972
973 <varlistentry id="mariadb-upgrade-mariadb">
974 <term><command>mariadb-upgrade</command></term>
975 <listitem>
976 <para>
977 examines all tables in all databases for incompatibilities with
978 the current version of MySQL Server
979 </para>
980 <indexterm zone="mariadb mariadb-upgrade-mariadb">
981 <primary sortas="b-mariadb-upgrade-mariadb">mariadb-upgrade</primary>
982 </indexterm>
983 </listitem>
984 </varlistentry>
985
986 <varlistentry id="mariadb-waitpid-mariadb">
987 <term><command>mariadb-waitpid</command></term>
988 <listitem>
989 <para>
990 signals a process to terminate and waits for the process to exit
991 </para>
992 <indexterm zone="mariadb mariadb-waitpid-mariadb">
993 <primary sortas="b-mariadb-waitpid-mariadb">mariadb-waitpid</primary>
994 </indexterm>
995 </listitem>
996 </varlistentry>
997
998 <varlistentry id="mariadb_config-mariadb">
999 <term><command>mariadb_config</command></term>
1000 <listitem>
1001 <para>
1002 gets compiler flags for using the MariaDB Connector/C
1003 </para>
1004 <indexterm zone="mariadb mariadb_config-mariadb">
1005 <primary sortas="b-mariadb_config-mariadb">mariadb_config</primary>
1006 </indexterm>
1007 </listitem>
1008 </varlistentry>
1009
1010 <varlistentry id="mbstream-mariadb">
1011 <term><command>mbstream</command></term>
1012 <listitem>
1013 <para>
1014 is an utility for sending InnoDB and XTraDB backups over a stream
1015 </para>
1016 <indexterm zone="mariadb mbstream-mariadb">
1017 <primary sortas="b-mbstream-mariadb">mbstream</primary>
1018 </indexterm>
1019 </listitem>
1020 </varlistentry>
1021
1022 <varlistentry id="msql2mysql-mariadb">
1023 <term><command>msql2mysql</command></term>
1024 <listitem>
1025 <para>
1026 is a tool to convert mSQL programs for use with MySQL
1027 </para>
1028 <indexterm zone="mariadb msql2mysql-mariadb">
1029 <primary sortas="b-msql2mysql-mariadb">msql2mysql</primary>
1030 </indexterm>
1031 </listitem>
1032 </varlistentry>
1033
1034 <varlistentry id="my_print_defaults-mariadb">
1035 <term><command>my_print_defaults</command></term>
1036 <listitem>
1037 <para>
1038 displays the options from option groups of option files
1039 </para>
1040 <indexterm zone="mariadb my_print_defaults-mariadb">
1041 <primary sortas="b-my_print_defaults-mariadb">my_print_defaults</primary>
1042 </indexterm>
1043 </listitem>
1044 </varlistentry>
1045
1046 <varlistentry id="myisam_ftdump-mariadb">
1047 <term><command>myisam_ftdump</command></term>
1048 <listitem>
1049 <para>
1050 displays information about FULLTEXT indexes in MyISAM tables
1051 </para>
1052 <indexterm zone="mariadb myisam_ftdump-mariadb">
1053 <primary sortas="b-myisam_ftdump-mariadb">myisam_ftdump</primary>
1054 </indexterm>
1055 </listitem>
1056 </varlistentry>
1057
1058 <varlistentry id="myisamchk-mariadb">
1059 <term><command>myisamchk</command></term>
1060 <listitem>
1061 <para>
1062 gets information about your database tables or checks, repairs,
1063 or optimizes them
1064 </para>
1065 <indexterm zone="mariadb myisamchk-mariadb">
1066 <primary sortas="b-myisamchk-mariadb">myisamchk</primary>
1067 </indexterm>
1068 </listitem>
1069 </varlistentry>
1070
1071 <varlistentry id="myisamlog-mariadb">
1072 <term><command>myisamlog</command></term>
1073 <listitem>
1074 <para>
1075 displays MyISAM log file contents
1076 </para>
1077 <indexterm zone="mariadb myisamlog-mariadb">
1078 <primary sortas="b-myisamlog-mariadb">myisamlog</primary>
1079 </indexterm>
1080 </listitem>
1081 </varlistentry>
1082
1083 <varlistentry id="myisampack-mariadb">
1084 <term><command>myisampack</command></term>
1085 <listitem>
1086 <para>
1087 is a tool for compressing MyISAM tables
1088 </para>
1089 <indexterm zone="mariadb myisampack-mariadb">
1090 <primary sortas="b-myisampack-mariadb">myisampack</primary>
1091 </indexterm>
1092 </listitem>
1093 </varlistentry>
1094
1095 <varlistentry id="mysql_config-mariadb">
1096 <term><command>mysql_config</command></term>
1097 <listitem>
1098 <para>
1099 provides you with useful information for compiling your MySQL
1100 client and connecting it to MySQL
1101 </para>
1102 <indexterm zone="mariadb mysql_config-mariadb">
1103 <primary sortas="b-mysql_config-mariadb">mysql_config</primary>
1104 </indexterm>
1105 </listitem>
1106 </varlistentry>
1107
1108 <varlistentry id="mytop-mariadb">
1109 <term><command>mytop</command></term>
1110 <listitem>
1111 <para>
1112 is a console-based tool for monitoring the threads and overall
1113 performance of a MySQL server
1114 </para>
1115 <indexterm zone="mariadb mytop-mariadb">
1116 <primary sortas="b-mytop-mariadb">mytop</primary>
1117 </indexterm>
1118 </listitem>
1119 </varlistentry>
1120
1121 <varlistentry id="perror-mariadb">
1122 <term><command>perror</command></term>
1123 <listitem>
1124 <para>
1125 is a utility that displays descriptions for system or storage
1126 engine error codes
1127 </para>
1128 <indexterm zone="mariadb perror-mariadb">
1129 <primary sortas="b-perror-mariadb">perror</primary>
1130 </indexterm>
1131 </listitem>
1132 </varlistentry>
1133
1134 <varlistentry id="replace-mariadb">
1135 <term><command>replace</command></term>
1136 <listitem>
1137 <para>
1138 is a MariaDB/MySQL extension to the SQL standard
1139 </para>
1140 <indexterm zone="mariadb replace-mariadb">
1141 <primary sortas="b-replace-mariadb">replace</primary>
1142 </indexterm>
1143 </listitem>
1144 </varlistentry>
1145
1146 <varlistentry id="resolve_stack_dump-mariadb">
1147 <term><command>resolve_stack_dump</command></term>
1148 <listitem>
1149 <para>
1150 resolves a numeric stack dump to symbols
1151 </para>
1152 <indexterm zone="mariadb resolve_stack_dump-mariadb">
1153 <primary sortas="b-resolve_stack_dump-mariadb">resolve_stack_dump</primary>
1154 </indexterm>
1155 </listitem>
1156 </varlistentry>
1157
1158 <varlistentry id="resolveip-mariadb">
1159 <term><command>resolveip</command></term>
1160 <listitem>
1161 <para>
1162 is a utility for resolving IP addresses to host names and
1163 vice versa
1164 </para>
1165 <indexterm zone="mariadb resolveip-mariadb">
1166 <primary sortas="b-resolveip-mariadb">resolveip</primary>
1167 </indexterm>
1168 </listitem>
1169 </varlistentry>
1170
1171 <varlistentry id="sst_sump-mariadb">
1172 <term><command>sst_sump</command></term>
1173 <listitem>
1174 <para>
1175 dumps the content of sst files (the format used by RocksDB)
1176 </para>
1177 <indexterm zone="mariadb sst_sump-mariadb">
1178 <primary sortas="b-sst_sump-mariadb">sst_sump</primary>
1179 </indexterm>
1180 </listitem>
1181 </varlistentry>
1182
1183 </variablelist>
1184
1185 </sect2>
1186
1187</sect1>
Note: See TracBrowser for help on using the repository browser.