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