[core] Add config check to validate MySql storage engine