source: server/databases/mariadb.xml@ 1c4b4e9

10.1 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 1c4b4e9 was 1c4b4e9, checked in by Douglas R. Reno <renodr@…>, 8 months ago

Downgrade to BIND-9.16.11, add a security fix
Update to stunnel-5.58
Tags

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

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