Blame SOURCES/README.mariadb-devel

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