source: server/databases/mariadb.xml@ 28370fe

10.0 10.1 11.0 7.10 7.8 7.9 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 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 28370fe was 28370fe, checked in by Fernando de Oliveira <fernando@…>, 6 years ago
  • More short descriptions from Denis Mugnier.
  • Fix main menu display problem for LXQT from hykwok1.
  • fontforge-20150824: --enable-debug requires libspiro.
  • Update to firefox-40.0.3.
  • Update to libreoffice-5.0.1.
  • Update to NetworkManager-1.0.6 and network-manager-applet-1.0.6.
  • Update to unrar-5.3.3.
  • Update to NSPR-4.10.9.
  • Update to libassuan-2.3.0.
  • Update to xterm-320.

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

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