SONAR-5280 fix compatibility with mysql 5.7.3