Make a PHP script and execute that on the webserver. That's how I finally got my data out of WebAir's shitty shared system.
Code:
<?php
$cmd = 'mysqldump -u=myuser -p=mypass dbname > dump.sql';
$n = (function_exists(passthru)) ? passthru("$cmd") : exec("$cmd");
return $n;
?>