Hi!
It's seems like 3.5GB was too big for aaPanel web to handle
Have you tried it via terminal?
Let's say your database backup file is my_backup_db.sql.gz, your database username is kevin and your database password is MyPassword123 and your destination database name is my_new_db
Something like this:
apt install pv -y
pv my_backup_db.sql.gz | gunzip | mysql -u kevin -pMyPassword123 my_new_db
PS:
Sane the -p
argument for your password, it must be no space as the example above.