A little hint for those who's database does not run on their webserver, i.e. where your host has a dedicated mysql server.
You must use the '-h' option to specify a mysql server
Example:
mysqldump --opt -h mysite.co.uk -u name -p dbname > /home/www.mysite.co.uk/public_html/backup/vbulletin.sql
I spent weeks trying to get my head round this, eventualy our sysadmin helped out with the above info.
|