Fix MySQL unique constraint error message parsing
Merge pull request #2575 from overlookmotel/Fix-unique-constraint-parsing-bug

Fix MySQL unique constraint error message parsing