1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Two small patches proposed by Paul DuBois

This commit is contained in:
salle@geopard.online.bg
2002-08-03 19:48:45 +03:00
parent 7b4869d9a4
commit de7b601d11
3 changed files with 3 additions and 1 deletions

View File

@ -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};