mysql multi db fix