5299 replace mysql with queryDB()