Add check for mysql