source: server/databases/mariadb.xml@ 562428e0

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

Update to mariadb-10.1.22.
Update to libwww-perl-6.24 (Perl Module).

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

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