MySQL command prompt hangs

When trying to log in to a database ie. mysql -h computer -u name -p
at the command prompt it just hangs when trying to get to the mysql prompt. This only applies to one of my databases - the others are OK.
Does anybody have any ideas what is happening here?