added mysql connection retries
Merge remote-tracking branch 'upstream/ubuntu-3.2-WIP' into ubuntu-3.2-WIP
Merge pull request #530 from nikit0z/ubuntu-3.2-WIP

added mysql connection retries