Fixed issue with MySQL - new connection every update.