i tried without using hostname, but it didn't work for me on my system ... obviously my localhost is not the same as my mysql hostname.
ahh, in that case your mysql username probably isn't set to accept connections from localhost (probably just the loopback address)
I hope that you got your backup built from the command line though