From 065c9aa959922aaad5d9453335cd3fc5c3495bcd Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Tue, 27 Dec 2005 17:37:54 +0000
Subject: [PATCH]  r220@um:  micah | 2005-12-27 11:12:31 -0500  Add -h option
 to mysqlhotcopy method

---
 handlers/mysql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/handlers/mysql b/handlers/mysql
index 408399d2..20905d56 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -180,7 +180,8 @@ then
     then
 	if [ $usevserver ]
 	then
-		execstr="$VSERVER $vsname exec $MYSQLHOTCOPY --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
+	    	info "dbhost: $dbhost"
+		execstr="$VSERVER $vsname exec $MYSQLHOTCOPY -h $dbhost --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
 	else
 		execstr="$MYSQLHOTCOPY --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
 	fi
-- 
GitLab