diff --git a/patches/applyPatches.sh b/patches/applyPatches.sh
index 3e2ebd248e9df5207eb27d2a34ed040cc0473932..7cce39bf94a388980bbb5b9dbdb2a5d2a3eb46c4 100755
--- a/patches/applyPatches.sh
+++ b/patches/applyPatches.sh
@@ -43,6 +43,8 @@ PATCHES="./patch*/patch.sh"
 for p in $PATCHES
 do
     echo "$p"
+    env | grep MYSQL | sort
+    export | grep MYSQL | sort
     $p "$@" --patch=$p
 done