Just edit the installer file instead, you dont have to piss about with MySQL.
Since you have managed to edit vB files with RPG coding, I assume you can edit the installer file too
As it says, before the first instance of $DB_site->query add the code in the first box, and after the last instance of $DB_site->query add the code in the second box.
Then run the installer again.