Interesting post from Simplehelp where the following command is recommended to copy a large database from one location to another:

# tar cf – * | ( cd /opt/mysql; tar xfp -)