So, I've just starting messing around with the development version of RMySQL -- v.0.11.0.9000 -- and I've noticed that when trying to check if I had any open connections -- using DBI v. 0.3.1.9008 -- I get the error:
> DBI::dbListConnections(MySQL())
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘dbListConnections’ for signature ‘"MySQLDriver"’
Indicating that RMySQL
no longer extends dbListConnections
for its driver (pardon my adhoc jargon)... Am I right in interpreting this as we no longer need to clean up our DB connections?
If not, how are we supposed to clean up after ourselves?
You don't have to cleanup after yourself, but it's still recommended. Just dbDisconnect(con)
when you're done with it. If you don't happen to have con
in an easily accessible format, don't worry about it.