We upgraded OpenEMR from 4.2.0 to 5.0.0.6 on production. First we did this on test. Since the upgrade, EMR is working ok, however now and then it is giving this message “Check that mysqld is running” and when we refresh that tab within the EMR, it is back to normal. This is happening many times and this is happening when accessing demographics or fee sheet or any other place. Seems like this is happening more often where the internet connection could be little slow.
I was trying to find if there is any setting we have for SQL timeout or SQL wait time that could be causing this problem. Is it the logging?
Thanks! Your response was helpful. MySql had default number of connections 151 and I increased to 1000. Issue seems to be resolved. I still have to do other performance tuning though.