]> arthur.barton.de Git - MkMySqlDump.git/commitdiff
Correctly set MySQL user when using --user
authorAlexander Barton <alex@barton.de>
Wed, 24 Feb 2016 00:10:10 +0000 (01:10 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 24 Feb 2016 00:10:10 +0000 (01:10 +0100)
bin/mkmysqldump

index 3a5ba19ee7366bb6b27e9770cce79504a053dbca..a470534b536c4bcfaee4afbf46affb051108741e 100755 (executable)
@@ -71,7 +71,7 @@ while [ $# -gt 0 ]; do
                ;;
          "--user"|"-u")
                [ $# -ge 2 ] || Usage
-               MYHOST="$2"
+               MYUSER="$2"
                shift 2
                ;;
          "--password"|"-p")