Added MySQL support, not tested.