summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <salle@geopard.online.bg>2002-08-03 19:02:05 +0300
committerunknown <salle@geopard.online.bg>2002-08-03 19:02:05 +0300
commit8ab4263338fcad0af9d9ae1ca480606850f6aff0 (patch)
treee06c8b6ad4e442563b07f6bfe6fc0a1ccdd81ff6 /scripts
parentce04b6fad7e6b2ad6ed8759923c51d906edcb288 (diff)
downloadmariadb-git-8ab4263338fcad0af9d9ae1ca480606850f6aff0.tar.gz
Two small patches proposed by Paul DuBois
include/sslopt-usage.h: Paul's patch for --ssl-xxx options for the --help message scripts/mysqlhotcopy.sh: Paul's patch for --port option
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqlhotcopy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index 45f1f1ed24a..707b4fc481c 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -156,6 +156,7 @@ $opt{allowold} = 1 if $opt{keepold};
# --- connect to the database ---
my $dsn = ";host=localhost";
+$dsn = ";host=127.0.0.1" if $opt{port}; # use TCP/IP if port was given
$dsn .= ";port=$opt{port}" if $opt{port};
$dsn .= ";mysql_socket=$opt{socket}" if $opt{socket};