[api] fix migration failure with MySQL from SLES 11