mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-36084 mariadb-hotcopy requires '--port' set for operation since 10.11
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
Reference in New Issue
Block a user