Today, on a new Ubuntu 22.04 LTS server running the latest cPanel, the override locations to increase from 10k max open files were:
/usr/lib/systemd/system/mysql.service
and:
/etc/systemd/system/mysqld.service.d/limits.conf

Today, on a new Ubuntu 22.04 LTS server running the latest cPanel, the override locations to increase from 10k max open files were:
/usr/lib/systemd/system/mysql.service
and:
/etc/systemd/system/mysqld.service.d/limits.conf
