When you update your mysql database from 1 to 2 make sure you database's are the original name. iportal and sitebase.

Before you update make sure you have the rights’ to update in mysql database and create new tables. And make a backup of de databases.

I had some problems with the mysql database on a remote location.
I guess it is has something to do with de automaticity find iportal database.