MDEV-36084 mariadb-hotcopy requires '--port' set for operation since 10.11
This commit is contained in:
parent
7335e9b8ef
commit
0b37c2e7a8
@ -208,7 +208,7 @@ if ($opt{socket} and -S $opt{socket})
|
||||
else
|
||||
{
|
||||
$dsn .= "host=" . $opt{host};
|
||||
if ($opt{host} ne "localhost")
|
||||
if ($opt{host} ne "localhost" and $opt{port})
|
||||
{
|
||||
$dsn .= ";port=". $opt{port};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user