Docs sometimes best from the source:
MySQL 5.7
https://dev.mysql.com/doc/refman/5.7/en/innodb-data-encryption.html
MySQL 8.0.current
https://dev.mysql.com/doc/refman/8.0/en/innodb-data-encryption.html
And a comment: MySQL not native to your platform - which seems to always have special directions - so when viewing above links, focus on platform.
Are we exploring with a clone of production ... hope so ... think I'd give encryption a good loooooooong test before putting into prodution (but that's me).
We are not having a knee jerk re-action to randsome situations, are we?
'SoS', Ken