Restore db without domain resolving


I am moving a wordpress website to dreamhost and want to restore the database using phpmyadmin but I can’t because the domain is not resolving yet.

Even when I do switch the domain I only planned to switch the @ IP address and not the name servers because I don’t want to interrupt my google apps email account.

How can I move the database?[hr]
Never mind, I guess if I setup the host address it will eventually start working.