Are you certain that there is no issue on the DB side, usually this occurs when there is connection reset happen with DB. Check the db logs as well for any connection failures.