Sidehistorik
...
The script originates from https://confluence.atlassian.com/display/CONFKB/Change+MySQL+Database+Character+Encoding+to+UTF8+During+Server+Migration - Thanx to Dejan Golja
A sample run
from a Confluence 5.2 installation:
...
This is a diff from a 5.2.5 instace instance - confluence5.2.5-dump.sql - And it has the same column types as after the script.