diff options
author | salle@geopard.online.bg <> | 2002-08-03 19:48:45 +0300 |
---|---|---|
committer | salle@geopard.online.bg <> | 2002-08-03 19:48:45 +0300 |
commit | de7b601d11daf76fa65e976af72ce63c5cd34a3c (patch) | |
tree | 3949e2618aa30938498cf8e3b126da837cb60483 /scripts/mysqlhotcopy.sh | |
parent | 7b4869d9a414e00321d2ea7cb024ae3e4d167aad (diff) | |
download | mariadb-git-de7b601d11daf76fa65e976af72ce63c5cd34a3c.tar.gz |
Two small patches proposed by Paul DuBois
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-rw-r--r-- | scripts/mysqlhotcopy.sh | 1 |
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}; |