Closing active connections using RMySQL

前端 未结 6 834
时光说笑
时光说笑 2020-12-28 18:49

As per my question earlier today, I suspect I have an issue with unclosed connections that is blocking data from being injected into my MySQL database. Data is being allowed

6条回答
  •  攒了一身酷
    2020-12-28 19:14

    Simplest:

    lapply(dbListConnections( dbDriver( drv = "MySQL")), dbDisconnect)
    

    List all connections and disconnect them by lapply

提交回复
热议问题