source: server/databases/mariadb.xml@ 94e0035

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 94e0035 was 94e0035, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to mariadb-10.2.9.
Update to xfsprogs-4.13.1.
Update to btrfs-progs-4.13.1.
Update to SDL2-2.0.6.
Update to nghttp2-1.26.0.

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

  • Property mode set to 100644
File size: 37.0 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 "c59999bd182ddeb3db3d55250aecd8f8">
11 <!ENTITY mariadb-size "67 MB">
12 <!ENTITY mariadb-buildsize "1.3 GB">
13 <!ENTITY mariadb-time "8.4 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 galara_new_cluster, galara_recovery,
425 innochecksum, maria_add_gis_sp.sql, msql2mysql, my_print_defaults,
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_plugin,
430 mysql_secure_installation, mysql_setpermission, mysql_tzinfo_to_sql,
431 mysql_upgrade, mysql_waitpid, mysql_zap, mysqlaccess, mysqladmin,
432 mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi, mysqld_safe,
433 mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport, mysqlshow,
434 mysqlslap, mysqltest, mysqltest_embedded, mytop, perror, replace,
435 resolve_stack_dump, resolveip, wsrep_sst_common, wsrep_sst_mysqldump,
436 wsrep_sst_rsync, wsrep_sst_xtrabackup, and wsrep_sst_xtrabackup-v2
437 </seg>
438 <seg>
439 libmysqlclient.{so,a},
440 libmysqlclient_r.{so,a} (symbolic links to libmysqlclient.{so,a}),
441 libmysqld.{so,a}, libmysqlservices.a,
442 and several under /usr/lib/mysql/plugin/
443 </seg>
444 <seg>
445 /etc/mysql,
446 /usr/{include,lib,share}/mysql, and
447 /usr/share/doc/mariadb-&mariadb-version;
448 </seg>
449 </seglistitem>
450 </segmentedlist>
451
452 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
453
454<!--
455 <para>
456 Descriptions of all the programs and libraries would be several
457 pages long. Instead, consult the man pages
458 or the online documentation at <ulink
459 url="https://mariadb.com/kb/en/mariadb-documentation/"/>.
460 </para>
461-->
462 <para>
463 The <application>Perl</application> DBI modules must be installed
464 for some of the <application>MariaDB</application> support programs to
465 function properly.
466 </para>
467
468 <variablelist>
469 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
470 <?dbfo list-presentation="list"?>
471 <?dbhtml list-presentation="table"?>
472
473 <varlistentry id="aria_chk-mariadb">
474 <term><command>aria_chk</command></term>
475 <listitem>
476 <para>
477 is used to check, repair, optimize, sort and get information
478 about Aria tables.
479 </para>
480 <indexterm zone="mariadb aria_chk-mariadb">
481 <primary sortas="b-aria_chk-mariadb">aria_chk</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="aria_dump_log-mariadb">
487 <term><command>aria_dump_log</command></term>
488 <listitem>
489 <para>
490 is a tool to dump content of Aria log pages.
491 </para>
492 <indexterm zone="mariadb aria_dump_log-mariadb">
493 <primary sortas="b-aria_dump_log-mariadb">aria_dump_log</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="aria_ftdump-mariadb">
499 <term><command>aria_ftdump</command></term>
500 <listitem>
501 <para>
502 displays full-text index information.
503 </para>
504 <indexterm zone="mariadb aria_ftdump-mariadb">
505 <primary sortas="b-aria_ftdump-mariadb">aria_ftdump</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="aria_pack-mariadb">
511 <term><command>aria_pack</command></term>
512 <listitem>
513 <para>
514 is a tool to generate compressed, read-only Aria tables.
515 </para>
516 <indexterm zone="mariadb aria_pack-mariadb">
517 <primary sortas="b-aria_pack-mariadb">aria_pack</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="aria_read_log-mariadb">
523 <term><command>aria_read_log</command></term>
524 <listitem>
525 <para>
526 displays Aria log file contents.
527 </para>
528 <indexterm zone="mariadb aria_read_log-mariadb">
529 <primary sortas="b-aria_read_log-mariadb">aria_read_log</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="innochecksum-mariadb">
535 <term><command>innochecksum</command></term>
536 <listitem>
537 <para>
538 prints checksums for InnoDB files.
539 </para>
540 <indexterm zone="mariadb innochecksum-mariadb">
541 <primary sortas="b-innochecksum-mariadb">innochecksum</primary>
542 </indexterm>
543 </listitem>
544 </varlistentry>
545
546 <varlistentry id="maria_add_gis_sp.sql-mariadb">
547 <term><command>maria_add_gis_sp.sql</command></term>
548 <listitem>
549 <para>
550 this script creates stored procedures required by the OpenGIS
551 standards, and is prepared to be run with the --bootstrap server
552 option.
553 </para>
554 <indexterm zone="mariadb maria_add_gis_sp.sql-mariadb">
555 <primary sortas="b-maria_add_gis_sp.sql-mariadb">maria_add_gis_sp.sql</primary>
556 </indexterm>
557 </listitem>
558 </varlistentry>
559
560 <varlistentry id="msql2mysql-mariadb">
561 <term><command>msql2mysql</command></term>
562 <listitem>
563 <para>
564 is a tool to convert mSQL programs for use with MySQL.
565 </para>
566 <indexterm zone="mariadb msql2mysql-mariadb">
567 <primary sortas="b-msql2mysql-mariadb">msql2mysql</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
572 <varlistentry id="my_print_defaults-mariadb">
573 <term><command>my_print_defaults</command></term>
574 <listitem>
575 <para>
576 displays the options from option groups of option files.
577 </para>
578 <indexterm zone="mariadb my_print_defaults-mariadb">
579 <primary sortas="b-my_print_defaults-mariadb">my_print_defaults</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="myisam_ftdump-mariadb">
585 <term><command>myisam_ftdump</command></term>
586 <listitem>
587 <para>
588 displays information about FULLTEXT indexes in MyISAM tables.
589 </para>
590 <indexterm zone="mariadb myisam_ftdump-mariadb">
591 <primary sortas="b-myisam_ftdump-mariadb">myisam_ftdump</primary>
592 </indexterm>
593 </listitem>
594 </varlistentry>
595
596 <varlistentry id="myisamchk-mariadb">
597 <term><command>myisamchk</command></term>
598 <listitem>
599 <para>
600 gets information about your database tables or checks, repairs,
601 or optimizes them.
602 </para>
603 <indexterm zone="mariadb myisamchk-mariadb">
604 <primary sortas="b-myisamchk-mariadb">myisamchk</primary>
605 </indexterm>
606 </listitem>
607 </varlistentry>
608
609 <varlistentry id="myisamlog-mariadb">
610 <term><command>myisamlog</command></term>
611 <listitem>
612 <para>
613 displays MyISAM log file contents.
614 </para>
615 <indexterm zone="mariadb myisamlog-mariadb">
616 <primary sortas="b-myisamlog-mariadb">myisamlog</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620
621 <varlistentry id="myisampack-mariadb">
622 <term><command>myisampack</command></term>
623 <listitem>
624 <para>
625 is a tool for compressing MyISAM tables.
626 </para>
627 <indexterm zone="mariadb myisampack-mariadb">
628 <primary sortas="b-myisampack-mariadb">myisampack</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
633 <varlistentry id="mysql-mariadb">
634 <term><command>mysql</command></term>
635 <listitem>
636 <para>
637 is a simple SQL shell with input line editing capabilities.
638 </para>
639 <indexterm zone="mariadb mysql-mariadb">
640 <primary sortas="b-mysql-mariadb">mysql</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="mysql_client_test-mariadb">
646 <term><command>mysql_client_test</command></term>
647 <listitem>
648 <para>
649 is used for testing aspects of the MySQL client API that cannot be
650 tested using mysqltest and its test language.
651 </para>
652 <indexterm zone="mariadb mysql_client_test-mariadb">
653 <primary sortas="b-mysql_client_test-mariadb">mysql_client_test</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="mysql_client_test_embedded-mariadb">
659 <term><command>mysql_client_test_embedded</command></term>
660 <listitem>
661 <para>
662 is a tool to test client API for embedded server.
663 </para>
664 <indexterm zone="mariadb mysql_client_test_embedded-mariadb">
665 <primary sortas="b-mysql_client_test_embedded-mariadb">mysql_client_test_embedded</primary>
666 </indexterm>
667 </listitem>
668 </varlistentry>
669
670 <varlistentry id="mysql_config-mariadb">
671 <term><command>mysql_config</command></term>
672 <listitem>
673 <para>
674 provides you with useful information for compiling your MySQL
675 client and connecting it to MySQL.
676 </para>
677 <indexterm zone="mariadb mysql_config-mariadb">
678 <primary sortas="b-mysql_config-mariadb">mysql_config</primary>
679 </indexterm>
680 </listitem>
681 </varlistentry>
682
683 <varlistentry id="mysql_convert_table_format-mariadb">
684 <term><command>mysql_convert_table_format</command></term>
685 <listitem>
686 <para>
687 converts the tables in a database to use a particular storage
688 engine.
689 </para>
690 <indexterm zone="mariadb mysql_convert_table_format-mariadb">
691 <primary sortas="b-mysql_convert_table_format-mariadb">mysql_convert_table_format</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="mysql_embedded-mariadb">
697 <term><command>mysql_embedded</command></term>
698 <listitem>
699 <para>
700 is a MySQL client statically linked to
701 libmysqld.
702 </para>
703 <indexterm zone="mariadb mysql_embedded-mariadb">
704 <primary sortas="b-mysql_embedded-mariadb">mysql_embedded</primary>
705 </indexterm>
706 </listitem>
707 </varlistentry>
708
709 <varlistentry id="mysql_find_rows-mariadb">
710 <term><command>mysql_find_rows</command></term>
711 <listitem>
712 <para>
713 reads files containing SQL statements and extracts statements that
714 match a given regular expression or that contain USE db_name or
715 SET statements.
716 </para>
717 <indexterm zone="mariadb mysql_find_rows-mariadb">
718 <primary sortas="b-mysql_find_rows-mariadb">mysql_find_rows</primary>
719 </indexterm>
720 </listitem>
721 </varlistentry>
722
723 <varlistentry id="mysql_fix_extensions-mariadb">
724 <term><command>mysql_fix_extensions</command></term>
725 <listitem>
726 <para>
727 converts the extensions for MyISAM (or ISAM ) table files to
728 their canonical forms.
729 </para>
730 <indexterm zone="mariadb mysql_fix_extensions-mariadb">
731 <primary sortas="b-mysql_fix_extensions-mariadb">mysql_fix_extensions</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="mysql_install_db-mariadb">
737 <term><command>mysql_install_db</command></term>
738 <listitem>
739 <para>
740 initializes the MySQL data directory and creates the system
741 tables that it contains, if they do not exist.
742 </para>
743 <indexterm zone="mariadb mysql_install_db-mariadb">
744 <primary sortas="b-mysql_install_db-mariadb">mysql_install_db</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="mysql_plugin-mariadb">
750 <term><command>mysql_plugin</command></term>
751 <listitem>
752 <para>
753 is a utility that enable MySQL administrators to manage which
754 plugins a MySQL server loads.
755 </para>
756 <indexterm zone="mariadb mysql_plugin-mariadb">
757 <primary sortas="b-mysql_plugin-mariadb">mysql_plugin</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
762 <varlistentry id="mysql_secure_installation-mariadb">
763 <term><command>mysql_secure_installation</command></term>
764 <listitem>
765 <para>
766 is a tool to improve MySQL installation security.
767 </para>
768 <indexterm zone="mariadb mysql_secure_installation-mariadb">
769 <primary sortas="b-mysql_secure_installation-mariadb">mysql_secure_installation</primary>
770 </indexterm>
771 </listitem>
772 </varlistentry>
773
774 <varlistentry id="mysql_setpermission-mariadb">
775 <term><command>mysql_setpermission</command></term>
776 <listitem>
777 <para>
778 sets permissions in the MySQL grant tables.
779 </para>
780 <indexterm zone="mariadb mysql_setpermission-mariadb">
781 <primary sortas="b-mysql_setpermission-mariadb">mysql_setpermission</primary>
782 </indexterm>
783 </listitem>
784 </varlistentry>
785
786 <varlistentry id="mysql_tzinfo_to_sql-mariadb">
787 <term><command>mysql_tzinfo_to_sql</command></term>
788 <listitem>
789 <para>
790 loads the time zone tables in the mysql database.
791 </para>
792 <indexterm zone="mariadb mysql_tzinfo_to_sql-mariadb">
793 <primary sortas="b-mysql_tzinfo_to_sql-mariadb">mysql_tzinfo_to_sql</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797
798 <varlistentry id="mysql_upgrade-mariadb">
799 <term><command>mysql_upgrade</command></term>
800 <listitem>
801 <para>
802 examines all tables in all databases for incompatibilities with
803 the current version of MySQL Server.
804 </para>
805 <indexterm zone="mariadb mysql_upgrade-mariadb">
806 <primary sortas="b-mysql_upgrade-mariadb">mysql_upgrade</primary>
807 </indexterm>
808 </listitem>
809 </varlistentry>
810
811 <varlistentry id="mysql_waitpid-mariadb">
812 <term><command>mysql_waitpid</command></term>
813 <listitem>
814 <para>
815 signals a process to terminate and waits for the process to exit.
816 </para>
817 <indexterm zone="mariadb mysql_waitpid-mariadb">
818 <primary sortas="b-mysql_waitpid-mariadb">mysql_waitpid</primary>
819 </indexterm>
820 </listitem>
821 </varlistentry>
822
823 <varlistentry id="mysql_zap-mariadb">
824 <term><command>mysql_zap</command></term>
825 <listitem>
826 <para>
827 is a tool to kill processes that match a pattern.
828 </para>
829 <indexterm zone="mariadb mysql_zap-mariadb">
830 <primary sortas="b-mysql_zap-mariadb">mysql_zap</primary>
831 </indexterm>
832 </listitem>
833 </varlistentry>
834
835 <varlistentry id="mysqlaccess-mariadb">
836 <term><command>mysqlaccess</command></term>
837 <listitem>
838 <para>
839 checks the access privileges for a host name, user name, and
840 database combination.
841 </para>
842 <indexterm zone="mariadb mysqlaccess-mariadb">
843 <primary sortas="b-mysqlaccess-mariadb">mysqlaccess</primary>
844 </indexterm>
845 </listitem>
846 </varlistentry>
847
848 <varlistentry id="mysqladmin-mariadb">
849 <term><command>mysqladmin</command></term>
850 <listitem>
851 <para>
852 is a client for performing administrative operations.
853 </para>
854 <indexterm zone="mariadb mysqladmin-mariadb">
855 <primary sortas="b-mysqladmin-mariadb">mysqladmin</primary>
856 </indexterm>
857 </listitem>
858 </varlistentry>
859
860 <varlistentry id="mysqlbinlog-mariadb">
861 <term><command>mysqlbinlog</command></term>
862 <listitem>
863 <para>
864 read binary log files.
865 </para>
866 <indexterm zone="mariadb mysqlbinlog-mariadb">
867 <primary sortas="b-mysqlbinlog-mariadb">mysqlbinlog</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry>
871
872 <varlistentry id="mysqlbug-mariadb">
873 <term><command>mysqlbug</command></term>
874 <listitem>
875 <para>
876 is a tool to generate bug report.
877 </para>
878 <indexterm zone="mariadb mysqlbug-mariadb">
879 <primary sortas="b-mysqlbug-mariadb">mysqlbug</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>
883
884 <varlistentry id="mysqlcheck-mariadb">
885 <term><command>mysqlcheck</command></term>
886 <listitem>
887 <para>
888 performs table maintenance: It checks, repairs, optimizes,
889 or analyzes tables.
890 </para>
891 <indexterm zone="mariadb mysqlcheck-mariadb">
892 <primary sortas="b-mysqlcheck-mariadb">mysqlcheck</primary>
893 </indexterm>
894 </listitem>
895 </varlistentry>
896
897 <varlistentry id="mysqld-mariadb">
898 <term><command>mysqld</command></term>
899 <listitem>
900 <para>
901 is the MySQL server daemon.
902 </para>
903 <indexterm zone="mariadb mysqld-mariadb">
904 <primary sortas="b-mysqld-mariadb">mysqld</primary>
905 </indexterm>
906 </listitem>
907 </varlistentry>
908
909 <varlistentry id="mysqld_multi-mariadb">
910 <term><command>mysqld_multi</command></term>
911 <listitem>
912 <para>
913 is designed to manage several mysqld processes that listen for
914 connections on different Unix socket files and TCP/IP ports.
915 </para>
916 <indexterm zone="mariadb mysqld_multi-mariadb">
917 <primary sortas="b-mysqld_multi-mariadb">mysqld_multi</primary>
918 </indexterm>
919 </listitem>
920 </varlistentry>
921
922 <varlistentry id="mysqld_safe-mariadb">
923 <term><command>mysqld_safe</command></term>
924 <listitem>
925 <para>
926 is the recommended way to start a mysqld server on Unix
927 and NetWare.
928 </para>
929 <indexterm zone="mariadb mysqld_safe-mariadb">
930 <primary sortas="b-mysqld_safe-mariadb">mysqld_safe</primary>
931 </indexterm>
932 </listitem>
933 </varlistentry>
934
935 <varlistentry id="mysqldump-mariadb">
936 <term><command>mysqldump</command></term>
937 <listitem>
938 <para>
939 is a backup program.
940 </para>
941 <indexterm zone="mariadb mysqldump-mariadb">
942 <primary sortas="b-mysqldump-mariadb">mysqldump</primary>
943 </indexterm>
944 </listitem>
945 </varlistentry>
946
947 <varlistentry id="mysqldumpslow-mariadb">
948 <term><command>mysqldumpslow</command></term>
949 <listitem>
950 <para>
951 parses MySQL slow query log files and prints a summary of their
952 contents.
953 </para>
954 <indexterm zone="mariadb mysqldumpslow-mariadb">
955 <primary sortas="b-mysqldumpslow-mariadb">mysqldumpslow</primary>
956 </indexterm>
957 </listitem>
958 </varlistentry>
959
960 <varlistentry id="mysqlhotcopy-mariadb">
961 <term><command>mysqlhotcopy</command></term>
962 <listitem>
963 <para>
964 locks the table, flush the table and then performs a copy of
965 the database.
966 </para>
967 <indexterm zone="mariadb mysqlhotcopy-mariadb">
968 <primary sortas="b-mysqlhotcopy-mariadb">mysqlhotcopy</primary>
969 </indexterm>
970 </listitem>
971 </varlistentry>
972
973 <varlistentry id="mysqlimport-mariadb">
974 <term><command>mysqlimport</command></term>
975 <listitem>
976 <para>
977 reads a range of data formats, and inserts the data into a
978 database.
979 </para>
980 <indexterm zone="mariadb mysqlimport-mariadb">
981 <primary sortas="b-mysqlimport-mariadb">mysqlimport</primary>
982 </indexterm>
983 </listitem>
984 </varlistentry>
985
986 <varlistentry id="mysqlshow-mariadb">
987 <term><command>mysqlshow</command></term>
988 <listitem>
989 <para>
990 shows the structure of a MariaDB database.
991 </para>
992 <indexterm zone="mariadb mysqlshow-mariadb">
993 <primary sortas="b-mysqlshow-mariadb">mysqlshow</primary>
994 </indexterm>
995 </listitem>
996 </varlistentry>
997
998 <varlistentry id="mysqlslap-mariadb">
999 <term><command>mysqlslap</command></term>
1000 <listitem>
1001 <para>
1002 is a diagnostic program designed to emulate client load for a
1003 MySQL server and to report the timing of each stage.
1004 </para>
1005 <indexterm zone="mariadb mysqlslap-mariadb">
1006 <primary sortas="b-mysqlslap-mariadb">mysqlslap</primary>
1007 </indexterm>
1008 </listitem>
1009 </varlistentry>
1010
1011 <varlistentry id="mysqltest-mariadb">
1012 <term><command>mysqltest</command></term>
1013 <listitem>
1014 <para>
1015 runs a test case against a MySQL server and optionally compares
1016 the output with a result file.
1017 </para>
1018 <indexterm zone="mariadb mysqltest-mariadb">
1019 <primary sortas="b-mysqltest-mariadb">mysqltest</primary>
1020 </indexterm>
1021 </listitem>
1022 </varlistentry>
1023
1024 <varlistentry id="mysqltest_embedded-mariadb">
1025 <term><command>mysqltest_embedded</command></term>
1026 <listitem>
1027 <para>
1028 is similar to the <command>mysqltest</command> command but is built
1029 with support for the libmysqld embedded server.
1030 </para>
1031 <indexterm zone="mariadb mysqltest_embedded-mariadb">
1032 <primary sortas="b-mysqltest_embedded-mariadb">mysqltest_embedded</primary>
1033 </indexterm>
1034 </listitem>
1035 </varlistentry>
1036
1037 <varlistentry id="mytop-mariadb">
1038 <term><command>mytop</command></term>
1039 <listitem>
1040 <para>
1041 is a console-based tool for monitoring the threads and overall
1042 performance of a MySQL server.
1043 </para>
1044 <indexterm zone="mariadb mytop-mariadb">
1045 <primary sortas="b-mytop-mariadb">mytop</primary>
1046 </indexterm>
1047 </listitem>
1048 </varlistentry>
1049
1050 <varlistentry id="perror-mariadb">
1051 <term><command>perror</command></term>
1052 <listitem>
1053 <para>
1054 is a utility that displays descriptions for system or storage
1055 engine error codes.
1056 </para>
1057 <indexterm zone="mariadb perror-mariadb">
1058 <primary sortas="b-perror-mariadb">perror</primary>
1059 </indexterm>
1060 </listitem>
1061 </varlistentry>
1062
1063 <varlistentry id="replace-mariadb">
1064 <term><command>replace</command></term>
1065 <listitem>
1066 <para>
1067 is a MariaDB/MySQL extension to the SQL standard.
1068 </para>
1069 <indexterm zone="mariadb replace-mariadb">
1070 <primary sortas="b-replace-mariadb">replace</primary>
1071 </indexterm>
1072 </listitem>
1073 </varlistentry>
1074
1075 <varlistentry id="resolve_stack_dump-mariadb">
1076 <term><command>resolve_stack_dump</command></term>
1077 <listitem>
1078 <para>
1079 resolves a numeric stack dump to symbols.
1080 </para>
1081 <indexterm zone="mariadb resolve_stack_dump-mariadb">
1082 <primary sortas="b-resolve_stack_dump-mariadb">resolve_stack_dump</primary>
1083 </indexterm>
1084 </listitem>
1085 </varlistentry>
1086
1087 <varlistentry id="resolveip-mariadb">
1088 <term><command>resolveip</command></term>
1089 <listitem>
1090 <para>
1091 is a utility for resolving IP addresses to host names and
1092 vice versa.
1093 </para>
1094 <indexterm zone="mariadb resolveip-mariadb">
1095 <primary sortas="b-resolveip-mariadb">resolveip</primary>
1096 </indexterm>
1097 </listitem>
1098 </varlistentry>
1099
1100 </variablelist>
1101
1102 </sect2>
1103
1104</sect1>
Note: See TracBrowser for help on using the repository browser.