source: server/databases/mariadb.xml@ ccf92b8

10.0 10.1 11.0 11.1 9.0 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since ccf92b8 was ccf92b8, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to mariadb-10.3.14.
Update to unrar-5.7.4.
Update to ffmpeg-4.1.3.
Update to gc-8.0.4.
Update to cmake-3.14.1.

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

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