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