Use the DB_HOST constant when exporting the database...

... to allow compatability with external DB servers