get mysql properly