Changeset 648b2c0


Ignore:
Timestamp:
09/13/2024 07:16:47 PM (3 weeks ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
trunk
Children:
6f58853
Parents:
612a60b
Message:

Update to mariadb-11.4.3.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r612a60b r648b2c0  
    127127<!-- End LFS versions -->
    128128
    129 <!ENTITY blfs-bootscripts-version     "20240416">
     129<!ENTITY blfs-bootscripts-version     "20240913">
    130130<!ENTITY systemd-units-version        "20240801">
    131131
  • introduction/welcome/changelog.xml

    r612a60b r648b2c0  
    4343      <itemizedlist>
    4444        <listitem>
     45          <para>[bdubbs] - Update to mariadb-11.4.3. Fixes
     46          <ulink url="&blfs-ticket-root;20344">#20344</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4549          <para>[bdubbs] - Update to sentry_sdk-2.14.0 (Python module). Fixes
    4650          <ulink url="&blfs-ticket-root;20343">#20343</ulink>.</para>
  • postlfs/config/users.xml

    r612a60b r648b2c0  
    9898        <row><entry>kdm     </entry><entry>37</entry><entry>37</entry></row>
    9999        <row><entry>fetchmail</entry><entry>38</entry><entry>  </entry></row>
    100         <row><entry>mysql  </entry><entry>40</entry><entry>40</entry></row>
     100        <row><entry>mariadb </entry><entry>40</entry><entry>40</entry></row>
    101101        <row><entry>postgres</entry><entry>41</entry><entry>41</entry></row>
    102102        <row><entry>dovecot </entry><entry>42</entry><entry>42</entry></row>
  • server/databases/mariadb.xml

    r612a60b r648b2c0  
    88  <!ENTITY mariadb-download-http "https://downloads.mariadb.org/interstitial/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz">
    99  <!ENTITY mariadb-download-ftp  " ">
    10   <!ENTITY mariadb-md5sum        "ba7abfae7947893c5a5343180808b0cb">
    11   <!ENTITY mariadb-size          "96 MB">
    12   <!ENTITY mariadb-buildsize     "1.9 GB (415 MB installed)">
    13   <!ENTITY mariadb-time          "4.8 SBU (with parallelism=8, add 0.3 SBU for tests)">
     10  <!ENTITY mariadb-md5sum        "c19f97dc1ea3165fb282a8384155dc0a">
     11  <!ENTITY mariadb-size          "103 MB">
     12  <!ENTITY mariadb-buildsize     "2.1 GB (741 MB installed)">
     13  <!ENTITY mariadb-time          "3.3 SBU (with parallelism=8, add 0.5 SBU for tests)">
    1414]>
    1515
     
    7171    <note>
    7272      <para>
    73         The installed size of MariaDB is 725 MB, but this can be
    74         reduced by about 265 MB, if desired, by removing the <filename
    75         class="directory">/usr/share/mysql/test</filename>
     73        The installed size of MariaDB is 741 MB, but this can be
     74        reduced by about 263 MB, if desired, by removing the <filename
     75        class="directory">/usr/share/mariadb/test</filename>
    7676        directory after installation.
    7777      </para>
     
    121121      <ulink url="https://mariadb.com/kb/en/myrocks/">MyRocks</ulink>,
    122122      <ulink url="https://github.com/google/snappy">Snappy</ulink>, and
    123       <!--<ulink url="https://mariadb.com/kb/en/mariadb/tokudb/">TokuDB</ulink>, and-->
    124123      <ulink url="https://zeromq.org/">ZeroMQ</ulink>
    125124    </para>
    126 
    127125
    128126  </sect2>
     
    145143    </para>
    146144
    147 <screen role="root"><userinput>groupadd -g 40 mysql &amp;&amp;
    148 useradd -c "MySQL Server" -d /srv/mysql -g mysql -s /bin/false -u 40 mysql</userinput></screen>
    149 <!--
    150     <para>
    151       Fix a stack smashing error introduced by openssl-3:
    152     </para>
    153 
    154 <screen><userinput remap="pre">patch -Np1 -i ../mariadb-&mariadb-version;-openssl3_fix-1.patch</userinput></screen>
    155 -->
     145<screen role="root"><userinput>groupadd -g 40 mariadb &amp;&amp;
     146useradd -c "MySQL Server" -d /srv/mariadb -g mariadb -s /bin/false -u 40 mariadb</userinput></screen>
     147
    156148    <para>
    157149      Install <application>MariaDB</application> by running the
     
    168160      -D INSTALL_DOCREADMEDIR=share/doc/mariadb-&mariadb-version; \
    169161      -D INSTALL_MANDIR=share/man                       \
    170       -D INSTALL_MYSQLSHAREDIR=share/mysql              \
    171       -D INSTALL_MYSQLTESTDIR=share/mysql/test          \
     162      -D INSTALL_MYSQLSHAREDIR=share/mariadb            \
     163      -D INSTALL_MYSQLTESTDIR=share/mariadb/test        \
    172164      -D INSTALL_PAMDIR=lib/security                    \
    173165      -D INSTALL_PAMDATADIR=/etc/security               \
    174       -D INSTALL_PLUGINDIR=lib/mysql/plugin             \
     166      -D INSTALL_PLUGINDIR=lib/mariadb/plugin           \
    175167      -D INSTALL_SBINDIR=sbin                           \
    176168      -D INSTALL_SCRIPTDIR=bin                          \
    177       -D INSTALL_SQLBENCHDIR=share/mysql/bench          \
    178       -D INSTALL_SUPPORTFILESDIR=share/mysql            \
    179       -D MYSQL_DATADIR=/srv/mysql                       \
    180       -D MYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock        \
     169      -D INSTALL_SQLBENCHDIR=share/mariadb/bench        \
     170      -D INSTALL_SUPPORTFILESDIR=share/mariadb          \
     171      -D MYSQL_DATADIR=/srv/mariadb                     \
     172      -D MYSQL_UNIX_ADDR=/run/mariadb/mariadb.sock      \
    181173      -D WITH_EXTRA_CHARSETS=complex                    \
    182174      -D WITH_EMBEDDED_SERVER=ON                        \
     
    188180    <para>
    189181      To test the results, issue: <command>make test</command>.
    190       One test, test-connect, is known to fail.
     182      Two tests, my_tzinfo and test-connect, are known to fail.
    191183    </para>
    192184
     
    262254
    263255      <para>
    264         <filename>/etc/mysql/my.cnf</filename> and
     256        <filename>/etc/mariadb/my.cnf</filename> and
    265257        <filename>~/.my.cnf</filename>
    266258      </para>
     
    271263
    272264      <indexterm zone="mariadb mariadb-config">
    273         <primary sortas="e-etc-mysql-my.cnf">/etc/mysql/my.cnf</primary>
     265        <primary sortas="e-etc-mariadb-my.cnf">/etc/mariadb/my.cnf</primary>
    274266      </indexterm>
    275267
     
    280272
    281273      <para>
    282         Create a basic <filename>/etc/mysql/my.cnf</filename>
     274        Create a basic <filename>/etc/mariadb/my.cnf</filename>
    283275        file using the following command as the <systemitem
    284276        class="username">root</systemitem> user:
    285277      </para>
    286278
    287 <screen role="root"><userinput>install -v -dm 755 /etc/mysql &amp;&amp;
    288 cat &gt; /etc/mysql/my.cnf &lt;&lt; "EOF"
    289 <literal># Begin /etc/mysql/my.cnf
     279<screen role="root"><userinput>install -v -dm 755 /etc/mariadb &amp;&amp;
     280cat &gt; /etc/mariadb/my.cnf &lt;&lt; "EOF"
     281<literal># Begin /etc/mariadb/my.cnf
    290282
    291283# The following options will be passed to all MySQL clients
     
    293285#password       = your_password
    294286port            = 3306
    295 socket          = /run/mysqld/mysqld.sock
     287socket          = /run/mariadb/mariadb.sock
    296288
    297289# The MySQL server
    298 [mysqld]
     290[mariadb]
    299291port            = 3306
    300 socket          = /run/mysqld/mysqld.sock
    301 datadir         = /srv/mysql
     292socket          = /run/mariadb/mariadb.sock
     293datadir         = /srv/mariadb
    302294skip-external-locking
    303295key_buffer_size = 16M
     
    318310
    319311# InnoDB tables are now used by default
    320 innodb_data_home_dir = /srv/mysql
    321 innodb_log_group_home_dir = /srv/mysql
     312innodb_data_home_dir = /srv/mariadb
     313innodb_log_group_home_dir = /srv/mariadb
    322314# All the innodb_xxx values below are the default ones:
    323315innodb_data_file_path = ibdata1:12M:autoextend
    324316# You can set .._buffer_pool_size up to 50 - 80 %
    325317# of RAM but beware of setting memory usage too high
    326 innodb_buffer_pool_size = 128M<!--
    327 This variable has been removed in version 10.2.2:
    328 innodb_additional_mem_pool_size = 2M-->
     318innodb_buffer_pool_size = 128M
    329319innodb_log_file_size = 48M
    330320innodb_log_buffer_size = 16M
     
    332322innodb_lock_wait_timeout = 50
    333323
    334 [mysqldump]
     324[mariadbdump]
    335325quick
    336326max_allowed_packet = 16M
    337327
    338 [mysql]
     328[mariadb]
    339329no-auto-rehash
    340330# Remove the next comment character if you are not familiar with SQL
     
    353343write_buffer = 2M
    354344
    355 [mysqlhotcopy]
     345[mariadbhotcopy]
    356346interactive-timeout
    357347
    358 # End /etc/mysql/my.cnf</literal>
     348# End /etc/mariadb/my.cnf</literal>
    359349EOF</userinput></screen>
    360350
     
    365355      </para>
    366356
    367 <screen role="root"><userinput>mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql &amp;&amp;
    368 chown -R mysql:mysql /srv/mysql</userinput></screen>
     357<screen role="root"><userinput>mariadb-install-db --basedir=/usr --datadir=/srv/mariadb --user=mariadb &amp;&amp;
     358chown -R mariadb:mariadb /srv/mariadb</userinput></screen>
    369359
    370360      <para>
     
    375365      </para>
    376366
    377 <screen role="root"><userinput>install -v -m755 -o mysql -g mysql -d /run/mysqld &amp;&amp;
    378 mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen>
     367<screen role="root"><userinput>install -v -m755 -o mariadb -g mariadb -d /run/mariadb &amp;&amp;
     368mariadbd-safe --user=mariadb 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen>
    379369
    380370      <para>
     
    384374      </para>
    385375
    386 <screen role="root"><userinput>mysqladmin -u root password</userinput></screen>
     376<screen role="root"><userinput>mariadb-admin -u root password</userinput></screen>
    387377
    388378      <para>
     
    392382      </para>
    393383
    394 <screen role="root"><userinput>mysqladmin -p shutdown</userinput></screen>
     384<screen role="root"><userinput>mariadb-admin -p shutdown</userinput></screen>
    395385
    396386    </sect3>
     
    402392      <para>
    403393        Install the
    404         <phrase revision="sysv"><filename>/etc/rc.d/init.d/mysql</filename> init
     394        <phrase revision="sysv"><filename>/etc/rc.d/init.d/mariadb</filename> init
    405395        script</phrase>
    406         <phrase revision="systemd"><filename>mysqld.service</filename>
     396        <phrase revision="systemd"><filename>mariadb.service</filename>
    407397        unit</phrase> included in the
    408398        <xref linkend="bootscripts" revision="sysv"/>
     
    413403
    414404      <indexterm zone="mariadb mariadb-init">
    415         <primary sortas="f-mysql">mysql</primary>
     405        <primary sortas="f-mariadb">mariadb</primary>
    416406      </indexterm>
    417407
    418 <screen role="root" revision="sysv"><userinput>make install-mysql</userinput></screen>
    419 
    420 <screen role="root" revision="systemd"><userinput>make install-mysqld</userinput></screen>
     408<screen role="root" revision="sysv"><userinput>make install-mariadb</userinput></screen>
     409
     410<screen role="root" revision="systemd"><userinput>make install-mariadb</userinput></screen>
    421411
    422412      <note>
     
    463453        </seg>
    464454        <seg>
    465           libmariadbclient.a, libmariadb.so, libmariadbd.so, libmysqlclient.a,
    466           libmysqlclient_r.a (symbolic links to libmariadbclient.a),
    467           libmysqld.{so,a}, libmysqlservices.a,
    468           and several under /usr/lib/mysql/plugin/
     455          libmariadb.a (symlink to libmariadbclient.a),
     456          libmariadb.so (symlink to libmariadb.so.3),
     457          libmariadbclient.a,
     458          libmariadbd.a,
     459          libmariadbd.so (symlik to libmariadbd.so.19),
     460          libmariadbd.so.19,
     461          libmariadb.so.3,
     462          libmysqlclient.a (symlik to libmariadbclient.a),
     463          libmysqlclient.so (symlik to libmariadb.so.3),
     464          libmysqlclient_r.a (symlik to libmariadbclient.a),
     465          libmysqlclient_r.so (symlik to libmariadbclient.a),
     466          libmysqld.a (symlink to libmariadbd.a),
     467          libmysqld.so (symlink to libmariadbd.so.19),
     468          libmysqlservices.a, and
     469          about 70 modules under /usr/lib/mysql/plugin/
    469470        </seg>
    470471        <seg>
    471           /etc/mysql,
    472472          /usr/{include,lib,share}/mysql,
    473           /usr/share/groonga{-normalizer-mysql}, and
     473          /usr/share/groonga{,-normalizer-mysql}, and
    474474          /usr/share/doc/mariadb-&mariadb-version;
    475475        </seg>
     
    703703          <para>
    704704            is used for testing aspects of the MySQL client API that cannot be
    705             tested using mysqltest and its test language
     705            tested using mariadb-test and its test language
    706706          </para>
    707707          <indexterm zone="mariadb mariadb-client-test-mariadb">
     
    752752        <listitem>
    753753          <para>
    754             is designed to manage several mysqld processes that listen for
     754            is designed to manage several mariadb processes that listen for
    755755            connections on different Unix socket files and TCP/IP ports
    756756          </para>
     
    765765        <listitem>
    766766          <para>
    767              is the recommended way to start a mysqld server on Unix
     767             is the recommended way to start a mariadb server on Unix
    768768             and NetWare
    769769          </para>
     
    981981        <listitem>
    982982          <para>
    983             is similar to the <command>mysqltest</command> command but is built
    984             with support for the libmysqld embedded server
     983            is similar to the <command>mariadb-test</command> command but is built
     984            with support for the libmariadbd embedded server
    985985          </para>
    986986          <indexterm zone="mariadb mariadb-test-embedded-mariadb">
     
    994994        <listitem>
    995995          <para>
    996             loads the time zone tables in the mysql database
     996            loads the time zone tables in the mariadb database
    997997          </para>
    998998          <indexterm zone="mariadb mariadb-tzinfo-to-sql-mariadb">
Note: See TracChangeset for help on using the changeset viewer.