How to persist the settingexec_mem_limit

How to persist the setting: SET GLOBAL exec_mem_limit = 2147483648; After I set it through the MySQL client, the setting is lost after restarting the service. I hope to make it persistent.

If set global, it will be persisted in the metadata.