source: server/databases/mariadb.xml@ db7038f8

10.0 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 db7038f8 was db7038f8, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

Update to kf5-apps-20.04.1 including kwave and kate.
Update to mariadb-10.4.13.

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

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