MySQL migration guide

Should the user login to his DB host before or where should he run the mysqldump? If dotCloud doesn't offer a ssl mysql connection I wouldn't recommend running this elsewhere.