Blame SOURCES/README

b34f8e
Package %{?scl_name} provides MariaDB database server delivered as a Software
b34f8e
Collection (SCL). For more information about Software Collections,
b34f8e
see the scl(1) man page. By installing the %{?scl_name} collection,
b34f8e
you will get the minimum working set of packages to have a working
b34f8e
MariaDB database server.
b34f8e
b34f8e
Software Collection MariaDB %{version_major}.%{version_minor} includes also
b34f8e
MariaDB Galera Cluster, which is a synchronous multi-master cluster for MariaDB.
b34f8e
b34f8e
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 15
b34f8e
Usage: systemctl start %{?scl_prefix}mariadb
b34f8e
%else
b34f8e
Usage: service %{?scl_prefix}mariadb start
b34f8e
%endif
b34f8e
b34f8e
Software Collections allow you to build and execute applications
b34f8e
which are not located in the filesystem root hierarchy,
b34f8e
but are stored in an alternative location, which is %{_scl_root}
b34f8e
in case of the %{?scl_name} collection.
b34f8e
b34f8e
MariaDB is a multi-user, multi-threaded SQL database server. It is a
b34f8e
client/server implementation consisting of a server daemon (mysqld)
b34f8e
and many different client programs and libraries. This package contains
b34f8e
the MariaDB server and some accompanying files and directories.
b34f8e
MariaDB is a community developed branch of MySQL.
b34f8e
b34f8e
When you want to work with the %{?scl_name} collection, use the scl
b34f8e
utility (see the scl(1) man page for usage) to enable the scl
b34f8e
environment. The only exception is starting and stopping
b34f8e
%{?scl_prefix}mariadb daemon, where SCL environment is enabled
b34f8e
implicitely within the SysV init script or systemd unit file.
b34f8e
b34f8e
Configuration for the %{?scl_name} software collection is located
b34f8e
under %{_sysconfdir}.
b34f8e
b34f8e
MariaDB server listens on network soket (by default port 3306) and unix socket
b34f8e
(by default /var/lib/mysql/mysql.sock).
b34f8e
b34f8e
Examples:
b34f8e
scl enable %{?scl_name} 'command --arg'
b34f8e
  Run a specific command with the argument --arg within the %{?scl_name}
b34f8e
  software collections environment.
b34f8e
b34f8e
scl enable %{?scl_name} 'mysql -u root -p'
b34f8e
  Run mysql shell from the %{?scl_name} software collection.
b34f8e
b34f8e
scl enable %{?scl_name} bash
b34f8e
  Run an interactive shell with the %{?scl_name} software collection enabled.
b34f8e
b34f8e
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 15
b34f8e
systemctl start %{?scl_prefix}mariadb
b34f8e
%else
b34f8e
service %{?scl_prefix}mariadb start
b34f8e
%endif
b34f8e
    Starts the MariaDB server from %{?scl_name} software collection.
b34f8e
b34f8e
scl enable %{?scl_name} 'man mysql'
b34f8e
  Show man pages for the mysql command, which is a part of the
b34f8e
  %{?scl_name} software collection.
b34f8e
b34f8e
yum install %{?scl_prefix}galera
b34f8e
  Install MariaDB Galera Cluster plugin, which is available in a separate
b34f8e
  package.
b34f8e
b34f8e
For running the test suite, which is available in %{?scl_prefix}mariadb-test
b34f8e
package, see the %{_datadir}/mysql-test/README. Please, be aware that you need
b34f8e
to run all the commands mentioned in the README file in a proper SCL
b34f8e
environment. Thus the recommended way to run the test suite is to run the bash
b34f8e
with %{?scl_name} collection enabled:
b34f8e
b34f8e
scl enable %{?scl_name} bash
b34f8e
  Run bash with the %{?scl_name} collection enabled.
b34f8e
b34f8e
Files:
b34f8e
%{_scl_scripts}/service-environment
b34f8e
Define which software collections should be enabled for the daemon process.
b34f8e
b34f8e
Report bugs to <http://bugzilla.redhat.com>.