Upgrade error from 4.6 to 4.7 - WordPress
Turns out there's a problem if you're trying to move the Civi database from a server to another (in my case from production to my localhost).

You need to change the db user in the mysqldump file. 
We did it using a script and the sed command