A distribute database adaptor somehow like MySQL Proxy.