Lightweight MySQL wrapper