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