I have the same issue since I use postgreSQL instead of MySQL.
The update script seems to call db_update_helper.py which is not configured for postgreSQL.
What exactly did you do then with the script you posted? Translate the code in db_update_helper.py from mysql to postgresql? How?
Any help is very much appreciated