Upgrade from 3.8 to 4.4 error

Hi,

I’m trying to do an upgrade from 3.8 to 4.4. This is my steps:

From RT3:

mysqldump -u root --opt --skip-lock-tables --single-transaction --default-character-set=binary --databases rtdb | gzip > dump.sql.gz

On RT4

gunzip -c dump_v2.sql.gz | mysql -u root rtdb
perl /opt/rt4/etc/upgrade/upgrade-mysql-schema.pl rtdb root > queries.sql
mysql -u root rtdb < queries.sql
/opt/rt4/sbin/rt-setup-database --dba root --prompt-for-dba-password --action upgrade

But i get the following error:

In order to create or update your RT database, this script needs to connect to your  mysql instance on localhost (port '') as root
Please specify that user's database password below. If the user has no database
password, just press return.

Password:
Working with:
Type:   mysql
Host:   localhost
Port:
Name:   rtdb
User:   request-tracker3
DBA:    root
Couldn't finish 'upgrade' step.

ERROR: Couldn't read dir './etc/upgrade' with upgrade data

Anybody know if the steps are correct and solve this error?
thanks!

Seems like the user the script is running as doesn’t have the rights to read that directory