Auto reconnect to MySQL server

master
Daniel Berteaud 10 years ago
parent 9033568f2c
commit 9160fb4aaf
  1. 7
      vroom.pl

@ -76,9 +76,10 @@ plugin database => {
username => $config->{'database.user'}, username => $config->{'database.user'},
password => $config->{'database.password'}, password => $config->{'database.password'},
options => { options => {
mysql_enable_utf8 => 1, mysql_enable_utf8 => 1,
RaiseError => 1, mysql_auto_reconnect => 1,
PrintError => 0 RaiseError => 1,
PrintError => 0
} }
}; };

Loading…
Cancel
Save