bug #3123433 [interface] Avoid double escaping of MySQL errors.