mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix to explicitly set no auto-reconnect
https://forum.virtualmin.com/t/webmin-2-6-not-available-yet/135883/10?u=ilia
This commit is contained in:
@@ -336,7 +336,7 @@ if ($driver_handle && !$config{'nodbi'}) {
|
||||
}
|
||||
}
|
||||
local $dbh = $driver_handle->connect($cstr, $mysql_login, $mysql_pass,
|
||||
{ });
|
||||
{ mysql_auto_reconnect => 0 });
|
||||
$dbh || &error("DBI connect failed : ",$driver_handle->errstr);
|
||||
if ($sql_charset) {
|
||||
# Switch to correct character set
|
||||
|
||||
Reference in New Issue
Block a user