I think you misread the topic - this is for moving from MariaDB 10.x to mysql 8.
I see this old tutorial, but the author later advised people not to do it. [Tutorial]How to remove MariaDB and replace with MySQL on CyberPanel - Docs / Unfiled - CyberPanel Community
Seems like something that’s not particularly possible?