Please follow iRedMail upgrade tutorials to use SQL/Shell/Python scripts in this directory, do not run any of them blindly.