Blame SOURCES/README

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