scripts and libraries for querying mysql sharded schema