mySQL and opcode handlers