Hello myDBR Representative,
How are you guys doing? I recently implemented the real time report refresh into one of our dashboards. I am noticing an odd issue though that after one or two refreshes we seem to get some server issues. The error says "Connection failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" followed by "Re-running the installation might resolve the problem.". I am using somewhat the same code you guys provided following the timed javascript button press for the ajax refresh:
SELECT 'dbr.javascript', '
$("#ajaxBusy").remove();
$(".refresh_image1")[0].click();
window.setInterval(function() {$(".refresh_image1")[0].click();}, 30000);
', 'onload';
I did increase the time to see if the timing was just too much for the server but alas even that did not help. The subreport has performed fine inline with the body of the dashboard but for whatever reason this method causes issues. I even can get the subreport to show in the dashboard once or twice before the server bombs. Any help would be appreciated.
Thanks,
Noah