Standard MySQL clients. MySQL Cluster can be used with existing MySQL applications written in
PHP, Perl, C, C++, Java, Python, Ruby, and so on. Such client applications send SQL statements to
and receive responses from MySQL servers acting as MySQL Cluster SQL nodes in much the same
way that they interact with standalone MySQL servers.
MySQL clients using a MySQL Cluster as a data source can be modified to take advantage of the
ability to connect with multiple MySQL servers to achieve load balancing and failover. For example,
Java clients using Connector/J 5.0.6 and later can use jdbc:mysql:loadbalance:// URLs
(improved in Connector/J 5.1.7) to achieve load balancing transparently; for more information about
using Connector/J with MySQL Cluster, see Using Connector/J with MySQL Cluster.
... zobacz całą notatkę
Komentarze użytkowników (0)