Comment 2 for bug 1721546

Mario Splivalo (mariosplivalo) wrote :

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