Article 5EG94 [SOLVED] Slackware64-current and mariadb - how to tune startup options

[SOLVED] Slackware64-current and mariadb - how to tune startup options

by
y0g1
from LinuxQuestions.org on (#5EG94)
Hello,
I have to change default startup options for mariadb database. I would like to know, how to do it?
In /etc/rc.d/rc.mysqld there is a call to /usr/bin/mysqld_safe
Do I need to change /etc/rc.d/rc.mysqld to add some specific arguments for mariadb?
I read mysqld_safe and there is one option that I need to use: --nice
When I tried it - then mariadb didn't start and complain that --nice is unrecognized option.
I checked mariadbd --help and that is correct - there is no option --nice.
Whu mysqld_safe offer to use it even it is not correct?
Who manage mysqld_safe script? I can't find it in /var/log/packages/*
Another method to give mysql user right priority is using pam and limits.conf
I did try it - but it didn't work. I am new to pam, but I wish to get right setup for mariadb with nice value set to negative value. How to do it?latest?d=yIl2AUoC8zA latest?i=3N3XXduzDJ8:r5oybtYKz_g:F7zBnMy latest?i=3N3XXduzDJ8:r5oybtYKz_g:V_sGLiP latest?d=qj6IDK7rITs latest?i=3N3XXduzDJ8:r5oybtYKz_g:gIN9vFw3N3XXduzDJ8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments