Package rh-mysql57 provides MySQL database server delivered as a Software
Collection (SCL). For more information about Software Collections,
see the scl(1) man page. By installing the rh-mysql57 collection,
you will get the minimum working set of packages to have a working
MySQL database server.

Usage: service rh-mysql57-mysqld start

Software Collections allow you to build and execute applications
which are not located in the filesystem root hierarchy,
but are stored in an alternative location, which is /opt/rh/rh-mysql57/root
in case of the rh-mysql57 collection.

MySQL is a multi-user, multi-threaded SQL database server. It is a
client/server implementation consisting of a server daemon (mysqld)
and many different client programs and libraries. This package contains
the MySQL server and some accompanying files and directories.

When you want to work with the rh-mysql57 collection, use the scl
utility (see the scl(1) man page for usage) to enable the scl
environment. The only exception is starting and stopping
rh-mysql57-mysqld daemon, where scl environment is enabled
implicitely within the SysV init script or systemd unit file.

Configuration for the rh-mysql57 software collection is located
under /etc/opt/rh/rh-mysql57.

MySQL server listens on network soket (by default port 3306) and unix socket
(by default /var/lib/mysql/mysql.sock).

Examples:
scl enable rh-mysql57 'command --arg'
  Run a specific command with the argument --arg within the rh-mysql57
  software collections environment.

scl enable rh-mysql57 'mysql -u root -p'
  Run mysql shell from the rh-mysql57 software collection.

scl enable rh-mysql57 bash
  Run an interactive shell with the rh-mysql57 software collection enabled.

service rh-mysql57-mysqld start
    Starts the MySQL server from rh-mysql57 software collection.

scl enable rh-mysql57 'man mysql'
  Show man pages for the mysql command, which is a part of the
  rh-mysql57 software collection.

For running the test suite, which is available in rh-mysql57-mysql-test
package, see the /opt/rh/rh-mysql57/root/usr/share/mysql-test/README. Please, be aware that you need
to run all the commands mentioned in the README file in a proper SCL
environment. Thus the recommended way to run the test suite is to run the bash
with rh-mysql57 collection enabled:

scl enable rh-mysql57 bash
  Run bash with the rh-mysql57 collection enabled.

Files:
/opt/rh/rh-mysql57/service-environment
Define which software collections should be enabled for the daemon process.

Report bugs to <http://bugzilla.redhat.com>.
