source: server/databases/mariadb.xml@ 55781c2

10.0 10.1 11.0 11.1 11.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 55781c2 was 55781c2, checked in by Pierre Labastie <pieere@…>, 5 years ago

mariadb-10.2.10
icu4c-60.1
libdrm-2.4.88
udisks2-2.7.4
poppler-0.61.0
gnupg-2.2.2

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

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