mirror of https://github.com/mikaku/Monitorix.git
fixed to include user/pass pair on socket connections
This commit is contained in:
parent
de2925a828
commit
7f973b3372
|
@ -180,6 +180,8 @@ sub mysql_update {
|
|||
}
|
||||
$dbh = DBI->connect(
|
||||
"DBI:mysql:mysql_socket=$sock",
|
||||
$user,
|
||||
$pass,
|
||||
{ PrintError => $print_error, }
|
||||
) or logger("$myself: Cannot connect to MySQL '$sock'.") and next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue