I would highly advise against using a php script (PHPMyAdmin, the UBB, etc) to create an SQL dump; especially with a large (over 100mb) database (as it will time out or in extreme cases not give you a complete database dump).
Instead, by using SSH (commands provided above) one can create the dump from the MySQL service directly (and it will be created MUCH faster).