source: server/databases/mariadb.xml@ b93a076

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

Update to elfutils-0.166.
Update to mariadb-10.1.13.
Update to gedit-3.20.1.
Update to glibmm-2.48.1.
Update to alsa-lib, alsa-plugins, alsa-utils-1.1.1.

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

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