I am constantly getting the error Lost connection to MySQL server during query [2013], which seems to be related to the connection timeout. This happens when I create a con object and try to use it to collect a table after some time (say, 10 minutes). My connection is created using the command
con =
RMariaDB::dbConnect(
drv = RMariaDB::MariaDB(),
username = username,
password = password,
host = host,
port = port,
dbname = dbname,
timeout = -1
)
I also tried to put "timeout = Inf" but with no success. Is the "timeout" argument really working? I am using the github version of DBI and RMariaDB packages.