This can be easily circumvented manually by creating a systemd unit override file for mysql service.
One should create a file, named "/etc/systemd/system/mysql.service.d/limits.conf", with this contents (just two lines):
[Service] LimitNOFILE=infinity
This fix is now implemented in mysql juju charm: https://github.com/marcoceppi/charm-mysql/issues/20
This can be easily circumvented manually by creating a systemd unit override file for mysql service.
One should create a file, named "/etc/systemd/ system/ mysql.service. d/limits. conf", with this contents (just two lines):
[Service] infinity
LimitNOFILE=
This fix is now implemented in mysql juju charm: https:/ /github. com/marcoceppi/ charm-mysql/ issues/ 20