dbListConnections(MySQL()) # 显示所有连接 for (con in dbListConnections(MySQL())) dbDisconnect(con) # 关闭所有连接