source: server/databases/mariadb.xml@ e043cf0

10.0 10.1 11.0 11.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since e043cf0 was e043cf0, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Revert mariadb to version 10.1.14. The 10.1.15 package has been removed.

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

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