Added mysql error description in deploy script (issue #2172)