source: server/databases/mariadb.xml@ ad112fd5

10.0 10.1 11.0 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ad112fd5 was ad112fd5, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to cups-2.2.12.
Update to node.js-10.16.3.
Update to gtk-doc-1.32.
Tag qt5 and its dependencies.

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