Blame SOURCES/README.mariadb-devel

f55c7d
This is a short overview how rh-mariadb101-mariadb-devel should be used.
f55c7d
f55c7d
* General information
f55c7d
f55c7d
Red Hat Software Collections contains the server part of MariaDB 10.1 database.
f55c7d
The core Red Hat Enterprise Linux 6 provides version 5.1 of MySQL databases
f55c7d
(client library and server daemon) and the core Red Hat Enterprise Linux 7
f55c7d
provides version 5.5 of MariaDB databases (client library and server daemon) .
f55c7d
f55c7d
A protocol which is used between the client library and the daemon (MySQL
f55c7d
and MariaDB are compatible enough from this POV) is stable across database
f55c7d
versions, so using, for example, the MySQL 5.1 client library with the
f55c7d
MariaDB 10.1 daemon works as expected.
f55c7d
f55c7d
f55c7d
* Usage of database connectors for dynamic languages
f55c7d
f55c7d
Client libraries from MySQL 5.1 or MariaDB 5.5 are used in database connectors
f55c7d
for dynamic languages (Python, Perl, PHP, Ruby) and libraries that are part
f55c7d
of the core Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.
f55c7d
f55c7d
The same client libraries from MySQL 5.1 or MariaDB 5.5 are used in database
f55c7d
connectors for more recent version of dynamic languages that are part of
f55c7d
the Red Hat Software Collections.
f55c7d
f55c7d
f55c7d
* How to build applications for MariaDB 10.1 from Red Hat Software Collection
f55c7d
f55c7d
MariaDB 10.1 from Red Hat Software Collection does not include database
f55c7d
connectors; client libraries packaged in the MariaDB 10.1 Red Hat Software
f55c7d
Collections database packages are not supposed to be used as they are included
f55c7d
only for purposes of server utilities and the daemon. Users are instead
f55c7d
expected to use the system libraries and database connectors provided by
f55c7d
MySQL 5.1 or MariaDB 5.5 with the core system.
f55c7d
f55c7d
It means that users who would like to link their application against MariaDB
f55c7d
client library should compile and link it against MySQL 5.1 or MariaDB 5.5
f55c7d
in the core Red Hat Enterprise Linux environment, not in MariaDB 10.1 Red Hat
f55c7d
Software Collections environment.
f55c7d
f55c7d
The only exception to this are server-side plugins, which are expected
f55c7d
to be built under MariaDB 10.1 Red Hat Software Collections environment,
f55c7d
which means the build process should be run inside "scl enable rh-mysql101 '...'"
f55c7d
call.