Introduction
Setup
mysqlnd_ms
PHP Manual

# Quickstart and Examples

## Table of Contents

- Setup
- Running statements
- Connection state
- SQL Hints
- Transactions
- Service level and consistency
- Global transaction IDs
- Cache integration
- Failover
- Partitioning and Sharding

The mysqlnd replication load balancing plugin is easy to use. This quickstart will demo typical use-cases, and provide practical advice on getting started.

It is strongly recommended to read the reference sections in addition to the quickstart. The quickstart tries to avoid discussing theoretical concepts and limitations. Instead, it will link to the reference sections. It is safe to begin with the quickstart. However, before using the plugin in mission critical environments we urge you to read additionally the background information from the reference sections.

The focus is on using PECL mysqlnd_ms for work with an asynchronous MySQL cluster, namely MySQL replication. Generally speaking an asynchronous cluster is more difficult to use than a synchronous one. Thus, users of, for example, MySQL Cluster will find more information than needed.

Introduction
Setup
mysqlnd_ms
PHP Manual