source: server/databases/mariadb.xml@ 45ab6c7

11.0 qt5new trunk
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 5 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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