[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?


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?