5525 update upgrade scripts for mysqli