source: server/databases/mariadb.xml@ fec0d01

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 plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since fec0d01 was fec0d01, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Tag qt5 and fix mariadb so qt can find a header.

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

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