replace mysql with queryDB(), but insert an exit as this file appears to be deprecated. If there's no effect, delete this file