[Warning] Could not increase number of max_open_files to more than 1024 (request: 10811)

解决方法:

修改服务

vim /usr/lib/systemd/system/mariadb.service
#在[service]下面加

[Service]
LimitNOFILE=infinity